windres in egcs
Mumit Khan
khan@xraylith.wisc.edu
Fri Oct 9 11:14:00 GMT 1998
On Thu, 8 Oct 1998, Bart Anderson wrote:
>
> Also, when I include windows.h in the .rc file I get this:
> C:\EGCS-M~1\mysrc\EnumWnd>windres enumwnd.rc
> windres:
> c:\\egcs-mingw32\\lib\\gcc-lib\\i386-pc-mingw32\\egcs-2.91.57\\include\
> \stdarg.h:70: parse error
> cpp.exe: stdout: Invalid argument
It's not a windres problem, but rather with the system include files. If
the C decls are not guarded from windres, it chokes (it's not a c
compiler, so it doesn't like seeing things like typedefs ...).
Thought we fixed that. Damn. Basically, you need to protect most of
stdarg.h from windres by using RC_INVOKED guard macro. Please email me
your emumwnd.rc and any other local files that it may include.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list