[haiku-development] m68k.h in gcc4 is all screwy now

  • From: Urias McCullough <umccullough@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 4 Apr 2009 11:09:02 -0700

It looks like someone screwed up the m68k.h in gcc sources between
4.1.2 and 4.3.3:

it now reads:

http://dev.haiku-os.org/browser/buildtools/trunk/gcc/gcc/config/m68k/m68k.h#L25

where before it was:

http://dev.haiku-os.org/browser/buildtools/trunk/gcc/gcc/config/m68k/m68k.h?rev=22689#L26

it fails to compile as a result:

In file included from ./tm.h:12,
                 from /work/haiku/buildtools/trunk/gcc/gcc/genconstants.c:31:
/work/haiku/buildtools/trunk/gcc/gcc/config/m68k/m68k.h:25:55: error:
#if with no expression
/work/haiku/buildtools/trunk/gcc/gcc/config/m68k/m68k.h:28:1: warning:
"MOTOROLA" redefined
In file included from /work/haiku/buildtools/trunk/gcc/gcc/genconstants.c:31:
./tm.h:5:1: warning: this is the location of the previous definition
make[2]: *** [build/genconstants.o] Error 1

- Urias

Other related posts:

  • » [haiku-development] m68k.h in gcc4 is all screwy now - Urias McCullough