advpack.c must be compiled with optimization?

Maarten Lankhorst m.b.lankhorst at gmail.com
Tue May 27 01:14:03 CDT 2008


Hello Dan,

2008/5/27 Dan Kegel <dank at kegel.com>:
> Oddly, if I compile the wine tree without -O2, the following
> test fails:
>
> ../../../wine advpack_test.exe.so advpack.c
> advpack.c:441: Test failed: Expected C:\Program Files, got C:\
> advpack.c:443: Test failed: Expected size 17, got 4
> make: *** [advpack.ok] Error 2
>
> Compiling advpack/advpack.c with at least -O makes
> the problem go away.
Out of curiosity I tried to do the same, it doesn't fail for me,
however I do get an 'unexpected pass into todo block' in
fusion/asmcache.c Valgrinding it gives even different results. (And a
lot of warnings of heapfree being used on a malloc in strdup)

Cheers,
Maarten



More information about the wine-devel mailing list