This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: windres in egcs
- To: Bart Anderson <banders at ec dot rockwell dot com>
- Subject: Re: windres in egcs
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Fri, 9 Oct 1998 13:14:00 -0500 (CDT)
- Cc: gnu-win32 at cygnus dot com
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".