cpp.rst
changeset 170 07218dd3cbca
parent 156 a53c8f8ada7d
child 176 5181378e42af
equal deleted inserted replaced
169:0f84c4f84770 170:07218dd3cbca
     8 
     8 
     9 ** MSVC.
     9 ** MSVC.
    10 
    10 
    11   $ cl /E <file>.c
    11   $ cl /E <file>.c
    12 
    12 
       
    13 * Who to see predefined macros?
       
    14 
       
    15 See
       
    16 
       
    17   http://predef.sourceforge.net/
       
    18   http://en.wikipedia.org/wiki/C_preprocessor#Compiler-specific_predefined_macros
       
    19 
       
    20 ** GNU C Compiler.
       
    21 
       
    22   $ gcc -dM -E - < /dev/null
       
    23 
       
    24 ** HP-UX ansi C compiler.
       
    25 
       
    26   $ cc -v EMPTY.c
       
    27 
       
    28 ** SCO OpenServer C compiler.
       
    29 
       
    30   $ cc -## EMPTY.c
       
    31 
       
    32 ** Sun Studio C/C++ compiler.
       
    33 
       
    34   $ cc -## EMPTY.c