This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: windres in egcs


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".


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