This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: User-namespace pre#defines - new approach


Zack Weinberg wrote:-

> cpplib to define FOO, __FOO, and __FOO__; FOO gets left out if
> -ansi/-std=c*, and if it is defined, using it generates a warning.

This would be yet another "if" statement in the macro expansion
fast path in enter_macro_context I imagine, no?  Would it only
trigger for immediate uses, or nested uses too?

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]