This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

compiler complains about its own 'mingw' files


Using
W32api 2.1-1
gcc 3.2-3
gcc-mingw 20020817-4

I tried to compile a program that use to compile
cleanly. I now get all these parsing errors and "ISO
forbids" messages about mingw files.

Here are a few:

gcc -Wall -O2 -g -fno-strength-reduce -W -pedantic
-mno-cygwin -DWINDOWS   -c -o readdib.o readdib.c

In file included from
/usr/include/w32api/windows.h:47,
                 from readdib.c:20:
/usr/include/mingw/stdarg.h:6:24: no include path in
which to find stdarg.h
In file included from /usr/include/mingw/string.h:40,
                 from /usr/include/w32api/winnt.h:37,
                 from
/usr/include/w32api/windef.h:246,
                 from
/usr/include/w32api/windows.h:48,
                 from readdib.c:20:
/usr/include/mingw/stddef.h:6:24: no include path in
which to find stddef.h
In file included from /usr/include/w32api/winnt.h:37,
                 from
/usr/include/w32api/windef.h:246,
                 from
/usr/include/w32api/windows.h:48,
                 from readdib.c:20:
/usr/include/mingw/string.h:52: parse error before
"size_t"
/usr/include/mingw/string.h:53: parse error before
"size_t"
/usr/include/mingw/string.h:54: parse error before
"size_t"
/usr/include/mingw/string.h:55: parse error before
"size_t"

and here are some more

 /usr/include/mingw/string.h:71: parse error before
"strspn"
/usr/include/mingw/string.h:71: ISO C forbids data
definition with no type or storage class
/usr/include/mingw/string.h:74: parse error before
"strxfrm"
/usr/include/mingw/string.h:74: parse error before
"size_t"
/usr/include/mingw/string.h:74: ISO C forbids data
definition with no type or storage class
/usr/include/mingw/string.h:80: parse error before
"size_t"



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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