[Bug 2649] New: exception.h doesn't compile
Wine Bugs
wine-bugs at winehq.org
Mon Jan 10 18:54:21 CST 2005
http://bugs.winehq.org/show_bug.cgi?id=2649
Summary: exception.h doesn't compile
Product: Wine
Version: CVS
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-winelib
AssignedTo: wine-bugs at winehq.org
ReportedBy: scott at open-vote.org
When trying to build an app with winelib that needs exception.h I get this error:
/usr/local/include/wine/exception.h: At top level:
/usr/local/include/wine/exception.h:142: error: parse error before "sigjmp_buf"
/usr/local/include/wine/exception.h:146: error: parse error before '}' token
winegcc: gcc failed.
Here is the relevant section from Wine's header:
typedef struct __tagWINE_FRAME
{
EXCEPTION_REGISTRATION_RECORD frame;
union
{
/* exception data */
__WINE_FILTER filter;
/* finally data */
__WINE_FINALLY finally_func;
} u;
sigjmp_buf jmp;
/* hack to make GetExceptionCode() work in handler */
DWORD ExceptionCode;
const struct __tagWINE_FRAME *ExceptionRecord;
} __WINE_FRAME;
I can't see what's wrong.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list