patch advice needed: macro expansion for #pragmas

Eric Christopher echristo@apple.com
Fri Feb 10 21:22:00 GMT 2006


On Feb 10, 2006, at 1:15 PM, Mike Stump wrote:

> On Feb 7, 2006, at 6:23 PM, Paul Rubin wrote:
>> A consulting client of mine has asked me to make a cpp patch that
>> causes GCC to optionally expand preprocessor macros in #pragmas.
>
>> I've made a patch that adds a command line option ("--expand- 
>> pragmas")
>
> Another possibility would be to add a pragma for it, not sure which  
> way is better.

eew pragmas. I'd rather the command line option.

-eric



More information about the Gcc-patches mailing list