http://bugs.winehq.org/show_bug.cgi?id=29906
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com --- wine-1.7.18-155-gdb42703 builds with clang-3.4 and no special settings, just: ./configure CC=clang
I also tried with 1.4-rc3 (which is what the bug report was from). I had to disable freetype to get configure to pass, but the build later fails: clang -c -I. -I. -I../../../include -I../../../include -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -g -O2 -o tmarshal.o tmarshal.c warning: unknown warning option '-Wunused-but-set-parameter'; did you mean '-Wunused-parameter'? [-Wunknown-warning-option] In file included from tmarshal.c:29: ./tmarshal.h:611:41: error: expected member name or ';' after declaration specifiers HRESULT (STDMETHODCALLTYPE *restrict)( ~~~~~~~ ^ ./tmarshal.h:611:32: error: pointer to function type 'HRESULT (IWidget *, INT *) __attribute__((stdcall))' may not be 'restrict' qualified HRESULT (STDMETHODCALLTYPE *restrict)( ^ 1 warning and 2 errors generated. Makefile:194: recipe for target 'tmarshal.o' failed make: *** [tmarshal.o] Error 1
Fixed in wine.