.. -*- coding: utf-8; -*-.. include:: HEADER.rst======================= cpp (C preprocessor).=======================.. contents::How to see macros expansion?============================GCC:: $ cpp <file>.cMSVC:: $ cl /E <file>.cUnder Emacs select region and type ``C-c C-e``.How to see predefined macros?=============================See: http://predef.sourceforge.net/ ``predef`` project on Sourceforge http://en.wikipedia.org/wiki/C_preprocessor#Compiler-specific_predefined_macros Compiler specific predefined macros http://msdn.microsoft.com/en-us/library/b0084kay.aspx Predefined MacrosGNU C Compiler:: $ gcc -dM -E - < /dev/nullHP-UX ansi C compiler:: $ cc -v EMPTY.cSCO OpenServer C compiler:: $ cc -## EMPTY.cSun Studio C/C++ compiler:: $ cc -## EMPTY.cIBM AIX XL C/C++ compiler:: $ cc -qshowmacros -E EMPTY.cFor Visual Studio compiler there no any possibility get predefined macros fromcommand line... But some macros documented: _MSC_VER Defines the compiler version. Always defined. _WIN32 Defined for applications for Win32. Always defined.