This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40463] linux-eabi.h:79:36: error: identifier "not" is a special operator name in C++
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jun 2009 15:38:45 -0000
- Subject: [Bug target/40463] linux-eabi.h:79:36: error: identifier "not" is a special operator name in C++
- References: <bug-40463-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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