Oleview: undefined references
mike at codeweavers.com
Wed Jun 21 22:21:10 CDT 2006
Andrew Talbot wrote:
> Sorry, yes: compilation breaks if the -Wwrite-strings flag is specified.
If you configure with:
the configure script will not add -O2, which means inline function won't
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
More information about the wine-devel