mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-02-04 07:13:16 +08:00
52 lines
2.4 KiB
Plaintext
52 lines
2.4 KiB
Plaintext
|
//////////////////////////////////////////////////////////////////////////////
|
||
|
// Product: PC-Lint 9.x rules for linting MISRA-C Exemplar Suite (MES)
|
||
|
// Last Updated for Version: 4.4.00
|
||
|
// Date of the Last Update: Jan 27, 2012
|
||
|
//
|
||
|
// Q u a n t u m L e a P s
|
||
|
// ---------------------------
|
||
|
// innovating embedded systems
|
||
|
//
|
||
|
// Copyright (C) 2002-2012 Quantum Leaps, LLC. All rights reserved.
|
||
|
//
|
||
|
// This software may be distributed and modified under the terms of the GNU
|
||
|
// General Public License version 2 (GPL) as published by the Free Software
|
||
|
// Foundation and appearing in the file GPL.TXT included in the packaging of
|
||
|
// this file. Please note that GPL Section 2[b] requires that all works based
|
||
|
// on this software must also be made publicly available under the terms of
|
||
|
// the GPL ("Copyleft").
|
||
|
//
|
||
|
// Alternatively, this software may be distributed and modified under the
|
||
|
// terms of Quantum Leaps commercial licenses, which expressly supersede
|
||
|
// the GPL and are specifically designed for licensees interested in
|
||
|
// retaining the proprietary status of their code.
|
||
|
//
|
||
|
// Contact information:
|
||
|
// Quantum Leaps Web site: http://www.quantum-leaps.com
|
||
|
// e-mail: info@quantum-leaps.com
|
||
|
//////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
-i%QPC%/include // QP/C includes and PC-Lint option files
|
||
|
-i./include // C standard library files
|
||
|
-i. // this project's includes
|
||
|
|
||
|
-si4 // sizeof(int)
|
||
|
-ss2 // sizeof(short)
|
||
|
-spD4 // sizeof(void *)
|
||
|
-spP4 // sizeof(function pointer)
|
||
|
|
||
|
au-misra2.lnt // MISRA-C:2004 rules (from %QPC%/include)
|
||
|
lib-qpc.lnt // QP/C options
|
||
|
//... // add your ownr options here...
|
||
|
|
||
|
// Library headers
|
||
|
+libclass(angle) // consider only <...> as library headers
|
||
|
-wlib(1) // report only errors from library headers
|
||
|
-elib(960, 961, 970) // suppress MISRA warnings for library headers
|
||
|
//-vf // print names of all source files
|
||
|
|
||
|
// Miscallaneous
|
||
|
-estring(793,6) // ANSI/ISO limit of 6 significant chars exceeded
|
||
|
+fce // Continue On Error
|
||
|
|