bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU windres 2.9.4 Dialog class and font.


From: deepthawt
Subject: GNU windres 2.9.4 Dialog class and font.
Date: Sat, 24 Mar 2001 03:06:02 +0100

Bug/Deficiency report:

The version of the utility:

GNU windres 2.9.4
windres.exe in the mingw distribution from
ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/gcc-2.95.2/
 Directory of C:\gcc-2.95.2\bin
WINDRES  EXE       254.464  07.11.99   2:01 windres.exe


Any patches you may have applied to the source:

none

The type of machine you are using, and the operating system name and
version number.

intel 386 windows98 


What compiler

gcc-2.95.2




The command arguments you gave the utility to observe the bug.  
windres -i YahELite.rc -o YahELiteres.o




A complete input file

#include <windows.h>
#define IDD_REPLACE 1000
#define IDC_STATIC 65535

IDD_REPLACE DIALOGEX 0, 0, 376, 108
STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_SETFOREGROUND | DS_3DLOOK | 
    DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_NOPARENTNOTIFY
CAPTION "Macros and Replacements"
CLASS "YahELiteDlg:class"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    LTEXT "&Pattern",IDC_STATIC,7,2,83,8
END


Be sure to say exactly what version of gcc, or
whatever, was used to produce the object files.

Microsoft VC6 (SP4)


A description of what behavior you observe that you believe is
incorrect.

windres halts with the diagnostic message

C:\GCC-295.2\BIN\WINDRES.EXE: YahELite.rc:10: parse error


The following resource directives appear to be unhandled

CLASS "YahELiteDlg:class"
FONT 8, "MS Sans Serif", 0, 0, 0x1


in order for the script to pass windres
the  -->CLASS "YahELiteDlg:class"
has to be removed completely

and the -->FONT 8, "MS Sans Serif", 0, 0, 0x1
must be changed to 
FONT 8, "MS Sans Serif"



Workarounds
if one is fortunate enough to have a .res file

windres -i YahELite.res -o YahELiteres.o

runs to completion without generating an error diagnostic.


Best regards
David Binette
---
*/ unmatched closing comment

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]