iostream and msvcrt?
Dimitrie O. Paun
dpaun at rogers.com
Tue Sep 7 09:06:07 CDT 2004
On Thu, Aug 19, 2004 at 04:00:19PM +1000, Scott Snell wrote:
> Hi Dimi,
> Thanks for helping out. I made the changes you suggested to the
> gcc-mingw.mak file for STLPort. When I go make it does a:
> wineg++ -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized
> -mno-cygwin -O2 -D_STLP_USE_DYNAMIC_LIB dll_main.cpp -c -o
> which throws up a world of errors, such as:
> In file included from ../stlport/cstdlib:25,
> from ../stlport/stl/debug/_debug.c:160,
> from ../stlport/stl/debug/_debug.h:418,
> from ../stlport/utility:40,
> from dll_main.cpp:35:
> /usr/include/c++/3.3.2/cstdlib:97: error: `div' not declared
> /usr/include/c++/3.3.2/cstdlib:102: error: `ldiv' not declared
> /usr/include/c++/3.3.2/cstdlib: In function `ldiv_t std::div(long int, long
Just got back from vacation. Why is it including a cstdlib?
Anyway, can you send me exactly what you did, so I can try
to reproduce it on my box?
More information about the wine-devel