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

2015-07-21 Thread gjl at gcc dot gnu.org
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

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

2014-12-08 Thread cameron at tacklind dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220 Bug ID: 64220 Summary: gcc preprocessor defines outside of the reserved namespace: unix linux AVR Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity

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

2014-12-08 Thread jakub at gcc dot gnu.org
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

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

2014-12-08 Thread rguenth at gcc dot gnu.org
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

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

2014-12-08 Thread cameron at tacklind dot com
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

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

2014-12-08 Thread pinskia at gcc dot gnu.org
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

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

2014-12-08 Thread pinskia at gcc dot gnu.org
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

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

2014-12-08 Thread cameron at tacklind dot com
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

Re: Why does GCC Preprocessor NOT support such macro?

2009-10-27 Thread Jakub Jelinek
On Fri, Oct 23, 2009 at 09:58:55PM +0800, Zhang Lin wrote: Hello, I have encountered an issue when building ACE with MinGW and GCC 4.4.1 The following macro was not accepted by the preprocessor and it reported such an error: error: operator '==' has no left operand. #if !defined

Why does GCC Preprocessor NOT support such macro?

2009-10-23 Thread Zhang Lin
Hello, I have encountered an issue when building ACE with MinGW and GCC 4.4.1 The following macro was not accepted by the preprocessor and it reported such an error: error: operator '==' has no left operand. #if !defined (ACE_HAS_NONSTATIC_OBJECT_MANAGER) # define

Re: Why does GCC Preprocessor NOT support such macro?

2009-10-23 Thread John Graham
2009/10/23 Zhang Lin zhanglin0...@163.com: Hello, I have encountered an issue when building ACE with MinGW and GCC 4.4.1 The following macro was not accepted by the preprocessor and it reported such an error: error: operator '==' has no left operand. #if !defined

Re: Why does GCC Preprocessor NOT support such macro?

2009-10-23 Thread Zhang Lin
-Wall -o Test.exe Test.cpp -lstdc++ -s and the error message is: Test.cpp:3:41: error: operator '==' has no left operand - Original Message - From: John Graham johngavingra...@googlemail.com To: gcc@gcc.gnu.org Sent: Friday, October 23, 2009 10:03 PM Subject: Re: Why does GCC Preprocessor

Re: Why does GCC Preprocessor NOT support such macro?

2009-10-23 Thread Jean Christophe Beyler
Sent: Friday, October 23, 2009 10:03 PM Subject: Re: Why does GCC Preprocessor NOT support such macro? 2009/10/23 Zhang Lin zhanglin0...@163.com: Hello, I have encountered an issue when building ACE with MinGW and GCC 4.4.1 The following macro was not accepted by the preprocessor

Re: Why does GCC Preprocessor NOT support such macro?

2009-10-23 Thread Andrew Pinski
On Fri, Oct 23, 2009 at 9:35 AM, Zhang Lin zhanglin0...@163.com wrote: Sorry, maybe my  representation is not quite clear. I mean that I didn't define ACE_HAS_NONSTATIC_OBJECT_MANAGER at all, so the preprocesser should not process #elif (ACE_HAS_NONSTATIC_OBJECT_MANAGER == 0), the following

Re: gcc preprocessor

2007-04-20 Thread drizzle drizzle
[EMAIL PROTECTED] wrote: On Wed, Apr 18, 2007 at 09:07:07PM -0400, drizzle drizzle wrote: Can some one tell me if gcc preprocessor can support in some way the following features You are asking a beginner C programming question. gcc's preprocessor does what standard C preprocessors do.

RE: gcc preprocessor

2007-04-20 Thread Dave Korn
On 20 April 2007 18:28, drizzle drizzle wrote: Ok can you tell me what directives does it provide to do what I have said . And I am not a beginner to gcc. Then you should have RTFMd by now. cheers, DaveK -- Can't think of a witty .sigline today

Re: gcc preprocessor

2007-04-20 Thread Joe Buck
On Fri, Apr 20, 2007 at 01:27:48PM -0400, drizzle drizzle wrote: Ok can you tell me what directives does it provide to do what I have said . And I am not a beginner to gcc. The answer is that gcc provides what the C standard specifies and nothing more. You appear to want a more

Re: gcc preprocessor

2007-04-20 Thread drizzle drizzle
Any developer sense on what it might take to extend the gcc preprocessor to do these ? I have some experience with gcc front end. I am especially keen abt multiline macros, so that the lines can be on separate lines. Any neat trick that can accomplish this by using #define ? dz On 4/20/07, Joe

Re: gcc preprocessor

2007-04-20 Thread David Daney
drizzle drizzle wrote: Any developer sense on what it might take to extend the gcc preprocessor to do these ? I have some experience with gcc front end. I am especially keen abt multiline macros, so that the lines can be on separate lines. Any neat trick that can accomplish this by using #define

Re: gcc preprocessor

2007-04-20 Thread Robert Dewar
drizzle drizzle wrote: Any developer sense on what it might take to extend the gcc preprocessor to do these ? I have some experience with gcc front end. I am especially keen abt multiline macros, so that the lines can be on separate lines. Any neat trick that can accomplish this by using #define

gcc preprocessor

2007-04-18 Thread drizzle drizzle
Hi Can some one tell me if gcc preprocessor can support in some way the following features 1. Repeating a block a certain number of times 2. Multiline macros with new lines 3. Setting a symbolic constant inside a #define thanks dz

Re: gcc preprocessor

2007-04-18 Thread Joe Buck
On Wed, Apr 18, 2007 at 09:07:07PM -0400, drizzle drizzle wrote: Can some one tell me if gcc preprocessor can support in some way the following features You are asking a beginner C programming question. gcc's preprocessor does what standard C preprocessors do.