[Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR

cameron at tacklind dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 9 01:28:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220

--- Comment #2 from Cameron Tacklind <cameron at tacklind dot com> ---
Ah, I had not seen a reference to the -std making a difference. You are right
that adding -std=c99 removes the extra define.

Of note, I'm finding it difficult to find where this behavior (the define being
in gnuXX and not cXX) is described in the documentation. (But I may just be
blind)

If this is a desired define behavior, then by all means leave it and please
close this as a "WONTFIX". I just wanted to bring this up, in particular,
because I want to use AVR in a project I'm working on and I had not seen a good
reason for its existence besides deprecated usage.



More information about the Gcc-bugs mailing list