STL with WINE problems

Dagan Shai Shai.Dagan at starhome.com
Sun Nov 7 03:48:27 CST 2004


Hi,
 
I'm trying to compile a C++ file using WINE. The file includes STL's
map. I am using STLPort with WINE.
 
I get a long list of errors starting with:
 
/starhome/iu/wine/include/wine/msvcrt/cstdlib:97: `div' not declared
/starhome/iu/wine/include/wine/msvcrt/cstdlib:102: `ldiv' not declared
/starhome/iu/wine/include/wine/msvcrt/cstdlib: In function `ldiv_t
   std::div(long int, long int)':
/starhome/iu/wine/include/wine/msvcrt/cstdlib:122: `ldiv' undeclared
(first use
 
   this function)
/starhome/iu/wine/include/wine/msvcrt/cstdlib:122: (Each undeclared
identifier
   is reported only once for each function it appears in.)
/starhome/iu/wine/include/wine/msvcrt/cstdlib: At global scope:
/starhome/iu/wine/include/wine/msvcrt/cstdlib:138: `lldiv_t' not
declared
/starhome/iu/wine/include/wine/msvcrt/cstdlib:139: `_Exit' not declared
...
 
 
 
I'm using msvcrt as the C library. I saw a previous posting with the
same problem, and I've tried the various solutions suggested (toggling
-mno-cygwin, using STLPort) but that did not work.
 
Suggestions welcome.
 
Thanks,
Shai Dagan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20041107/af57649b/attachment.htm


More information about the wine-devel mailing list