This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR
- From: "cameron at tacklind dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 Dec 2014 01:27:59 +0000
- Subject: [Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR
- Auto-submitted: auto-generated
- References: <bug-64220-4 at http dot gcc dot gnu dot org/bugzilla/>
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.