http://bugs.winehq.org/show_bug.cgi?id=16741
Summary: msvcrt/except.c: compiler errors Product: Wine Version: 1.1.12 Platform: Macintosh OS/Version: Linux Status: NEW Keywords: patch, source Severity: minor Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
austin@ubuntu-ppc:~/wine-git/dlls/msvcrt$ make gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_MT -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o except.o except.c except.c: In function ‘_except_handler3’: except.c:254: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘DWORD’ except.c:254: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘DWORD’ except.c: At top level: except.c:103: warning: ‘MSVCRT_nested_handler’ defined but not used
MSVCRT_nested_handler probably just needs an ifdef. The format errors are wrong, but fixing them may break it on other compilers. I'll take a look at this one later. Filing a bug so I don't forget it, and in case anyone else wants to fix it instead :-).