RFC: C/C++ preprocessor macro support for GDB

Stan Shebs shebs@apple.com
Mon Mar 18 12:32:00 GMT 2002


Neil Booth wrote:
> 
> Hi Stan!
> 
> Stan Shebs wrote:-
> 
> > As someone who has had much of his time consumed by keeping
> > another preprocessor (Apple's cpp-precomp) in sync with GNU cpp,
> > I think we really should try hard to avoid duplicate macro
> > expanders.
> 
> What were the issues?  Subtle differences in macro expansion?  I'm
> curious.

Just about everything you can think of. :-) GNU extensions,
predefined symbols, pathname search orders, token pasting, etc.
GNUisms like vararg macros (now a C99ism too I guess) have
probably accounted for the most work.

Stan



More information about the Gcc mailing list