-fdirectives-only question

Nicholas Mc Guire der.herr@hofr.at
Thu May 7 11:47:00 GMT 2015

Hi all !

 Im trying to extract the configuration dependent
 code (#ifdef #endif) to ease code-inspection 
 The only thing I was to locate was to preprocess with
 -fdirectives-only but that already is doing a lot
 more than just handling the conditinal code and does
 not really simplify code-review.  Are there other
 options similar to -fdirectives-only that could help ?
 or some way to dump intermediate steps of the exapansion
 that could help ?
 ...or is anyone aware of other methods to extract the 
 actual code used at compile time in a readable form ?

 may thanks in advance .


More information about the Gcc-help mailing list