* [Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR
2014-12-08 11:24 [Bug preprocessor/64220] New: gcc preprocessor defines outside of the reserved namespace: unix linux AVR cameron at tacklind dot com
@ 2014-12-08 12:52 ` jakub at gcc dot gnu.org
2014-12-08 13:22 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-08 12:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
What is wrong on this? You are not requesting any strict conformance mode, and
with GNU extensions those are acceptable. Retry with -std=c89, -std=c99,
-std=c11, -ansi or similar options, then those macros shouldn't be defined.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR
2014-12-08 11:24 [Bug preprocessor/64220] New: gcc preprocessor defines outside of the reserved namespace: unix linux AVR cameron at tacklind dot com
2014-12-08 12:52 ` [Bug preprocessor/64220] " jakub at gcc dot gnu.org
@ 2014-12-08 13:22 ` rguenth at gcc dot gnu.org
2014-12-09 1:28 ` cameron at tacklind dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-08 13:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-12-08
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR
2014-12-08 11:24 [Bug preprocessor/64220] New: gcc preprocessor defines outside of the reserved namespace: unix linux AVR cameron at tacklind dot com
2014-12-08 12:52 ` [Bug preprocessor/64220] " jakub at gcc dot gnu.org
2014-12-08 13:22 ` rguenth at gcc dot gnu.org
@ 2014-12-09 1:28 ` cameron at tacklind dot com
2014-12-09 1:29 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cameron at tacklind dot com @ 2014-12-09 1:28 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR
2014-12-08 11:24 [Bug preprocessor/64220] New: gcc preprocessor defines outside of the reserved namespace: unix linux AVR cameron at tacklind dot com
` (2 preceding siblings ...)
2014-12-09 1:28 ` cameron at tacklind dot com
@ 2014-12-09 1:29 ` pinskia at gcc dot gnu.org
2014-12-09 1:30 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-12-09 1:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/cpp/System-specific-Predefined-Macros.html#System-specific-Predefined-Macros
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR
2014-12-08 11:24 [Bug preprocessor/64220] New: gcc preprocessor defines outside of the reserved namespace: unix linux AVR cameron at tacklind dot com
` (3 preceding siblings ...)
2014-12-09 1:29 ` pinskia at gcc dot gnu.org
@ 2014-12-09 1:30 ` pinskia at gcc dot gnu.org
2014-12-09 1:41 ` cameron at tacklind dot com
2015-07-21 9:40 ` gjl at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-12-09 1:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> https://gcc.gnu.org/onlinedocs/gcc-4.9.2/cpp/System-specific-Predefined-
> Macros.html#System-specific-Predefined-Macros
When the -ansi option, or any -std option that requests strict conformance, is
given to the compiler, all the system-specific predefined macros outside the
reserved namespace are suppressed. The parallel macros, inside the reserved
namespace, remain defined.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR
2014-12-08 11:24 [Bug preprocessor/64220] New: gcc preprocessor defines outside of the reserved namespace: unix linux AVR cameron at tacklind dot com
` (4 preceding siblings ...)
2014-12-09 1:30 ` pinskia at gcc dot gnu.org
@ 2014-12-09 1:41 ` cameron at tacklind dot com
2015-07-21 9:40 ` gjl at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cameron at tacklind dot com @ 2014-12-09 1:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220
--- Comment #5 from Cameron Tacklind <cameron at tacklind dot com> ---
Pardon my brevity. Yes, I'd seen that.
I was trying to comment on this list seemingly missing a reference to that
particular difference. Or that if it is listed, it is difficult to find.
https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html
By my main issue persists of extra defines being set outside of the reserved
namespace. If this is something that you do not want to change, I am fine with
that. If so, please close this indicating that you want this behavior.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR
2014-12-08 11:24 [Bug preprocessor/64220] New: gcc preprocessor defines outside of the reserved namespace: unix linux AVR cameron at tacklind dot com
` (5 preceding siblings ...)
2014-12-09 1:41 ` cameron at tacklind dot com
@ 2015-07-21 9:40 ` gjl at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: gjl at gcc dot gnu.org @ 2015-07-21 9:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |gjl at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Confusion has been resolved with help of the documentation.
^ permalink raw reply [flat|nested] 8+ messages in thread