summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/scripts/pclint/lint_cfg.lnt
blob: 72530d5342494d5592f981a4b73fe5903c361d7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// These settings are used to adjust the pcLint checking for
// the operating unit source code

// show pclint where to find Header files
-i".\include"
-i".\lib"
-i".\src"

-iC:\mingw\include
-iC:\mingw\lib\gcc\mingw32\4.8.1\include\
-iC:\mingw\lib\gcc\mingw32\4.8.1\include\-fixed
-iC:\mingw\lib\gcc\mingw32\4.8.1\include\c++\
-iC:\mingw\lib\gcc\mingw32\4.8.1\include\c++\mingw32
//+libdir(D:\Programme\linaro\gcc-linaro-arm-linux-gnueabihf-4.9-2014.08\*)	// define a directory as holding only headers, may be used with * or ?
//+libdir(D:\Programme\linaro\gcc-linaro-arm-linux-gnueabihf-4.9-2014.08\libc\usr\include\*)

//+libclass(ansi)	// use this if only ANSI headers are seen as unchecked libraries
+libclass(foreign)	// ignore all headers comeing from a foreign directory using -i or the INCLUDE environment variable
//+libclass(angle)	// ingore all headers specified with angle brackets
//+libclass(all)	// ignore all header files
+libh(co-ggc.lnt)	// ignore this file
//+libdir(uncrustify/scripts/*)
//-wlib(1)

// Compiler specific configuration for Visual DSP

// co-tiger.lnt use this file for tiger sharc as reference
scripts\pclint\co-gcc.lnt 	// Compiler Options for GCC

// Configuration for checking the operating unit source code

//-d__ARM_PCS_VFP
-d__cplusplus
-d_GNU_SOURCE
//-d__GNUC__
-d__STDC__
//-d__GLIBCXX__=20130531
//-d__SIZE_TYPE__=int
//-d__PTRDIFF_TYPE__=int
//-d__CHAR_BIT__=8
-dWIN32
-d__i386__
-dDEFINE_CHAR_TABLE
-dDEFINE_PCF_NAMES 

// define compiler specific keywords

//+rw(__inline)				// activate the __inline keyword
//+ppw(import)				// activate #import
//-d"_exit=_up_to_brackets"
//-d"extern 'C'=gobble"
//+fkp        				// complain about non-KR extensions

// To print a stack usage report pclint has to know how much space is required by some functions
// define an upper limit of stack space usage for recursion and function pointers