public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/40463]  New: linux-eabi.h:79:36: error: identifier "not" is a special operator name in C++
@ 2009-06-16 17:28 danglin at gcc dot gnu dot org
  2009-06-17  8:30 ` [Bug target/40463] " ramana at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-06-16 17:28 UTC (permalink / raw)
  To: gcc-bugs

/home/dave/gnu/gcc/objdir/./prev-gcc/xgcc
-B/home/dave/gnu/gcc/objdir/./prev-gcc
/ -B/home/dave/opt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/bin/
-B/hom
e/dave/opt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/bin/
-B/home/dave/o
pt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/lib/ -isystem
/home/dave/op
t/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/sys-include   
-c  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE
-I. -Ibuild -I../../gcc/gcc -I../../gcc/gcc/build -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include -I/home/dave/opt/gnu/include 
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber   -I/home/dave/opt/gnu/include \
                -o build/genconstants.o ../../gcc/gcc/genconstants.c
cc1: warnings being treated as errors
In file included from ./tm.h:17:0,
                 from ../../gcc/gcc/genconstants.c:31:
../../gcc/gcc/config/arm/linux-eabi.h:79:36: error: identifier "not" is a
special operator name in C++

/* Clear the instruction cache from `beg' to `end'.  This is
   implemented in lib1funcs.asm, so ensure an error if this definition
   is used.  */
#undef  CLEAR_INSN_CACHE
#define CLEAR_INSN_CACHE(BEG, END) not used

I've classified this as a target bug, but it is not clear that this error
should trigger if the macro is not used.


-- 
           Summary: linux-eabi.h:79:36: error: identifier "not" is a special
                    operator name in C++
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: armv5tejl-unknown-linux-gnueabi
  GCC host triplet: armv5tejl-unknown-linux-gnueabi
GCC target triplet: armv5tejl-unknown-linux-gnueabi


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-22 13:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-16 17:28 [Bug target/40463] New: linux-eabi.h:79:36: error: identifier "not" is a special operator name in C++ danglin at gcc dot gnu dot org
2009-06-17  8:30 ` [Bug target/40463] " ramana at gcc dot gnu dot org
2009-06-17 10:13 ` joseph at codesourcery dot com
2009-06-17 15:38 ` dave at hiauly1 dot hia dot nrc dot ca
2009-06-22 12:43 ` ramana at gcc dot gnu dot org
2009-06-22 13:05 ` ramana at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).