# HG changeset patch # User Oleksandr Gavenko # Date 1321203426 -7200 # Node ID b3d65819639be4459b7d9a0bba77d230863b4609 # Parent 244b155df50b15c421302d747cb71cae31afe4c2 Convert some files to RST syntax. diff -r 244b155df50b -r b3d65819639b cpp.rst --- a/cpp.rst Sun Nov 13 02:43:23 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ --*- mode: outline; coding: utf-8; -*- - -* How to see macros expansion? - -** GCC. - - $ cpp .c - -** MSVC. - - $ cl /E .c - -* Who to see predefined macros? - -See - - http://predef.sourceforge.net/ - http://en.wikipedia.org/wiki/C_preprocessor#Compiler-specific_predefined_macros - -** GNU C Compiler. - - $ gcc -dM -E - < /dev/null - -** HP-UX ansi C compiler. - - $ cc -v EMPTY.c - -** SCO OpenServer C compiler. - - $ cc -## EMPTY.c - -** Sun Studio C/C++ compiler. - - $ cc -## EMPTY.c - -** IBM AIX XL C/C++ compiler. - - $ cc -qshowmacros -E EMPTY.c - -** Visual Studio compiler. - - http://msdn.microsoft.com/en-us/library/b0084kay.aspx - Predefined Macros -