August 18, 2011
This NG seems very quiet, but since my issue is with STLPort it seems the
logical place to start.
Running Win 7 64 bit. Have dmc from CD.  Upgraded to 852.  Am trying to use
stlport.

rem avoid other toolchains
set include=
set lib=
dmc hello -I\dm\stlport\stlport

using _STLP_VENDOR_CSTD::wint_t;
                              ^
c:\dm\stlport\stlport\cwchar(167) : Error: undefined identifier 'wint_t'
using _STLP_VENDOR_CSTD::fgetwc;
                              ^
c:\dm\stlport\stlport\cwchar(199) : Error: undefined identifier 'fgetwc'
using _STLP_VENDOR_CSTD::fgetws;
                              ^
c:\dm\stlport\stlport\cwchar(200) : Error: undefined identifier 'fgetws'
using _STLP_VENDOR_CSTD::fputwc;
                              ^
c:\dm\stlport\stlport\cwchar(201) : Error: undefined identifier 'fputwc'
using _STLP_VENDOR_CSTD::fputws;
                              ^
c:\dm\stlport\stlport\cwchar(202) : Error: undefined identifier 'fputws'
Fatal error: too many errors

I can find most of these refs in wchar.h, don't know why dmc can't.

Tried building stlport
smake -f dm.mak


--- errorlevel 1
	mkdir ..\lib
	mkdir ..\build
	mkdir ..\build\static
	mkdir ..\build\static\release
	mkdir ..\build\static\debug
	mkdir ..\build\static\stldebug
	mkdir ..\build\staticx
	mkdir ..\build\staticx\release
	mkdir ..\build\staticx\debug
	mkdir ..\build\staticx\stldebug
	mkdir ..\build\dynamic
	mkdir ..\build\dynamic\release
	mkdir ..\build\dynamic\debug
	mkdir ..\build\dynamic\stldebug
	mkdir ..\build\sdynamic
	mkdir ..\build\sdynamic\release
	mkdir ..\build\sdynamic\debug
	mkdir ..\build\sdynamic\stldebug
	dmc -cpp -c -o"..\build\static\release\c_locale.obj" -Ae -Ar -DSTRICT -D__BUILDING_STLPORT -I../stlport -o+all -Nc -D_MT "c_locale.c"
using _STLP_VENDOR_CSTD::wmemcmp;
                               ^
../stlport\cwchar(274) : Error: undefined identifier 'wmemcmp'
--- errorlevel 1

My sc.ini looks like so:
[Version]
version=7.51 Build 020

[Environment]
PATH=%PATH%;"%@P%\..\bin"
BIN="%@P%\..\bin"
INCLUDE="%@P%\..\include";"%@P%\..\mfc\include";"%@P%\..\stl";%INCLUDE%
LIB="%@P%\..\lib";"%@P%\..\mfc\lib";%LIB%
HELP="%@P%\..\help"







August 24, 2011
Its lonely here, but just in case someone else wanders by with the same problem, a two step approach got me going.
1)  Download the stlport zip from the DM site to get the lib
2)  I've added a bunch of __DMC__ ifdefs into the stlport code.
The net effect is to look for wide string functions in the global namespace, not standard.  It looks like there's a standard stlport config flag to do this and I'll investigate that because my solution is UGLY.
IF anybody needs the ugly header, drop a message on the ng and I'll send it.

On 8/18/2011 7:40 AM, Jason King wrote:
> This NG seems very quiet, but since my issue is with STLPort it seems the
> logical place to start.
> Running Win 7 64 bit. Have dmc from CD. Upgraded to 852. Am trying to use
> stlport.
>