Le 9 mars 2012 13:39, Christian Costa <titan.co...@gmail.com> a écrit : > Le 08/03/2012 21:23, Alexandre Julliard a écrit : >> >> Christian Costa<titan.co...@gmail.com> writes: >> >>> This should fix the d3dxof problem of bug 12694. >> >> It's broken on 64-bit: >> >> ../../../../wine/tools/runtest -q -P wine -M d3dxof.dll -T ../../.. -p >> d3dxof_test.exe.so ../../../../wine/dlls/d3dxof/tests/d3dxof.c&& touch >> d3dxof.ok >> d3dxof.c:578: Test failed: Got size 8, expected 4 >> d3dxof.c:597: Test failed: Got size 8, expected 4 >> make[1]: *** [d3dxof.ok] Error 2 >> > I updated my tests and just remember sizeof must no be used in traces. BTW > what should it be avoided ? > > Christian > >
Because there's no C89/C90 portable way of printf'ing a size_t. -- Nicolas Le Cam