This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
issue with mingw and __attribute__?
- From: Adam Megacz <gcc at lists dot megacz dot com>
- To: gcc at gcc dot gnu dot org
- Date: 04 Feb 2002 13:57:33 -0800
- Subject: issue with mingw and __attribute__?
- Organization: Myself
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