This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

issue with mingw and __attribute__?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]