Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 306 Bytes

cpp.md

File metadata and controls

13 lines (13 loc) · 306 Bytes
  1. Shows all predefined macros
touch foo.h; cpp -dM foo.h
  1. Remove linemarkers from the output of the preprocessor. Can be useful when you use cpp on something that is not c code.
gcc -E -P
  1. Show default search paths for #include <...>
cpp -v /dev/null -o /dev/null