issue with mingw and __attribute__?
Adam Megacz
gcc@lists.megacz.com
Mon Feb 4 14:05:00 GMT 2002
Using latest mingw header snapshot (mingw-1.0.1-20010726.tar.gz) and
latest gcc cvs (cross from linux to mingw):
megacz@curry$ cat test.c
#include<windows.h>
megacz@curry$ /home/megacz/mingw-gcj/bin/gcc/g++ -B/home/megacz/mingw-gcj/bin/gcc/ -c test.c
In file included from /usr/local/gcc/i686-pc-mingw32/include/windows.h:102,
from test.c:1:
/usr/local/gcc/i686-pc-mingw32/include/winbase.h:1078: parse error before `
__attribute__'
/usr/local/gcc/i686-pc-mingw32/include/winbase.h:1079: parse error before `
__attribute__'
/usr/local/gcc/i686-pc-mingw32/include/winbase.h:1114: parse error before `
__attribute__'
In file included from /usr/local/gcc/i686-pc-mingw32/include/rpc.h:29,
from /usr/local/gcc/i686-pc-mingw32/include/windows.h:134,
from test.c:1:
/usr/local/gcc/i686-pc-mingw32/include/rpcdce.h:362: parse error before `
__attribute__'
Builds from a month ago don't have this problem when fed the same
headers. Should I submit a PR?
- a
More information about the Gcc
mailing list