Andrew Talbot wrote:
Sorry, yes: compilation breaks if the -Wwrite-strings flag is specified.
If you configure with:
CFLAGS="-Wwrite-strings" ./configure
the configure script will not add -O2, which means inline function won't be inlined.
The problem seems to be that oleview isn't linked with -llibwineunicode. Using lstrlenW() instead of strlenW() or adding $(LIBUNICODE) to Makefile.in should fix that. eg.
EXTRALIBS = -luuid $(LIBUNICODE)
Or you can just add -O2 yourself:
CFLAGS="-Wwrite-strings -O2" ./configure
Mike