[Bug 2649] New: exception.h doesn't compile
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(a)winehq.org ReportedBy: scott(a)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.
participants (1)
-
Wine Bugs