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]

[Bug target/40463] linux-eabi.h:79:36: error: identifier "not" is a special operator name in C++



------- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca  2009-06-17 15:38 -------
Subject: Re:  linux-eabi.h:79:36: error: identifier "not" is a special operator
name in C++

> > Could you specify which version of the source tree this was ? 
> 
> This is trunk, version 147956 or later.  Using not_used instead of "not 
> used" would suffice to fix this, but the -Wc++-compat warning probably 
> should be smarter; there's no need to care about the expansions of unused 
> macros like this.

I changed the define in my tree to "NOT USED" to avoid this.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40463


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