summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/scripts/pclint/co-gcc.h
blob: e948a20f48a93236a38beecde3566c7158f3b709 (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
#ifndef CO_GCC_H_
#define CO_GCC_H_

#ifdef _lint /* Make sure no compiler comes this way */

/*
   The headers included below must be generated; For C++, generate
   with:

   g++ [usual build options] -E -dM t.cpp >lint_cppmac.h

   For C, generate with:

   gcc [usual build options] -E -dM t.c >lint_cmac.h

   ...where "t.cpp" and "t.c" are empty source files.

   It's important to use the same compiler options used when compiling
   project code because they can affect the existence and precise
   definitions of certain predefined macros.  See the preamble to
   co-gcc.lnt for details and a tutorial.
 */
#if defined(__cplusplus)
//#       include "lint_cppmac.h"
#else
#       include "lint_cmac.h"
#endif


/* If the macros given by the generated macro files must be adjusted
   in order for Lint to cope, then you can do so here.  */


#endif /* _lint      */
#endif /* CO_GCC_H_ */