Mail Archives: djgpp/1998/03/15/18:31:45
From: | Weiqi Gao <weiqigao AT a DOT crl DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Mingw32 Resource Compiler driving me NUTS!
|
Date: | Sun, 15 Mar 1998 17:17:15 -0600
|
Organization: | Spectrum Healthcare Services
|
Lines: | 28
|
Message-ID: | <350C617B.FB1AC822@a.crl.com>
|
References: | <6ehkcs$9js$2 AT news DOT interlog DOT com>
|
NNTP-Posting-Host: | a116023.stl1.as.crl.com
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Gautam N. Lad / Vimal N. Lad wrote:
>
> Hi,
> OK, I apologize for the following (posting same problem again), but I am really
> starting to lose it. How the F_CK do you compile resource files using the
> Mingw32 compiler? Either the WINDRES or RCL are freakin' me out, giving me
> dumb errors, which I can't solve. I can't find anything useful in the .DOCs.
> These same resource files compile just fine under LCC's resource compiler.
>
> I am using the following commandline for windres:
> windres -i gldlgm.rc -o gldlgm.res -I rc -O res
>
> And it gives this stinkin' error:
> E:\MING\BIN\WINDRES.EXE:
> E:\\MING\\lib\\gcc-lib\\i386-mingw32\\2.8.1\\include\\stdarg.h:70: syntax error
> cpp.exe: stdout: Broken pipe
>
> Please help! I am going nuts!
If you are using the same version of mingw32 as I do, then the line in
question is:
typedef void *__gnuc_va_list;
And this line is simply not legal resource script. Microsoft's rc.exe
bulks on this line too.
--
Weiqi Gao
weiqigao AT a DOT crl DOT com
- Raw text -