From: SourceForge.net <no...@so...> - 2003-03-29 05:54:25
|
Bugs item #711601, was opened at 2003-03-29 10:47 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=711601&group_id=2435 Category: gcc Group: Known bugs >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Vladimir Michl (michlv) Assigned to: Danny Smith (dannysmith) Summary: windres: parse error on good resource file Initial Comment: Hello developers, in attached archive is resource file with some other files that not compile with windres. Windres report following error: windres: CipePanel.rc:20: parse error It is probably on line: CONTROL "", CIPEPANEL_TREEVIEW, WC_TREEVIEW, WS_BORDER | 0x201 | TVS_HASLINES | TVS_LINESATROOT | TVS_HASBUTTONS | TVS_EDITLABELS | WS_TABSTOP | TVS_SHOWSELALWAYS | TVS_HASBUTTONS, 5, 5, 100, 160 Microsoft resource compiler compile this resource without any warnings. Command used to compile is: windres CipePanel.rc Cipe.Panel.res.o Vladimir Michl ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2003-03-29 18:09 Message: Logged In: YES user_id=11494 Fixed in CVS: 2003-03-29 Danny Smith <dan...@us...> * include/commctrl.h (ANIMATE_CLASS,HOTKEY_CLASS,PROGRESS_CLASS, STATUSCLASSNAME,TOOLBARCLASSNAME,TOO LTIPS_CLASS,TRACKBAR_CLASS, UPDOWN_CLASS,WC_COMBOBOXEX,WC_HEADE R,WC_IPADDRESS,WC_LISTVIEW, WC_TABCONTROL,WC_TREEVIEW): Move UNICODE mappings out of RC_INVOKED guard. (WC_PAGESCROLLER,WC_NATIVEFONTCTL,WC_ BUTTON,WC_STATIC,WC_EDIT, WC_LISTBOX,WC_COMBOBOX,WC_SCROLLBAR): Add defines. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2003-03-29 14:35 Message: Logged In: YES user_id=11494 I see the problem. It is in commctrl.h. The UNICODE mappings for WC_TREEVIEW and similar defines are alll protected by #ifndef RC_INVOKED :( All work up a patch. In the meantime you could workaround by changing WC_TREEVIEW to WC_TREEVIEWA Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=711601&group_id=2435 |