www.digitalmars.com         C & C++   DMDScript  

c++.command-line - Error rebuilding STLport 4.5.3 w/DM 8.4.8

reply Cesar Rabak <crabak acm.org> writes:
I started the rebuild process for STLport as per readme.txt and got the 
following error:

D:\DM\stlport\src>smake -f dm.mak

SMAKE  Program Maintenance Utility (Console) Version 7.50
Copyright (c) 1994-1995 Innovative Data Concepts Incorporated
Copyright (c) 1994-2001 Digital Mars
All Rights Reserved

         dmc -c -o"..\build\static\release\ios.obj" -Ae -Ar -DSTRICT 
-D__BUILDING
_STLPORT -I../stlport -o+all -Nc -D_MT "ios.cpp"
../stlport\stl/_pair.h(54) : Error: 'std::std::pair<void cdecl 
(*)(event::ios_ba
se::std ,ios_base::std &,int ),int >::std::pair<void cdecl 
(*)(event::ios_base::
std ,ios_base::std &,int ),int >' is already defined
--- errorlevel 1
SMAKE fatal error: command "dmc" returned with error code 1
Stopping.

Is there anything else that must be configured in order to build it with 
newer versions of DMC?

--
Cesar Rabak
May 28 2006
parent reply Walter Bright <newshound digitalmars.com> writes:
Cesar Rabak wrote:
 I started the rebuild process for STLport as per readme.txt and got the 
 following error:

That does work with 8.47. I don't know yet what I broke.
May 30 2006
parent reply Cesar Rabak <crabak acm.org> writes:
Walter Bright escreveu:
 Cesar Rabak wrote:
 
 I started the rebuild process for STLport as per readme.txt and got 
 the following error:

That does work with 8.47. I don't know yet what I broke.

And I'm somewhat puzzled how to reduce the search space on a project like STLPort... The simple hello world compiles w/8.4.8...
May 30 2006
parent reply Walter Bright <newshound digitalmars.com> writes:
Cesar Rabak wrote:
 Walter Bright escreveu:
 Cesar Rabak wrote:

 I started the rebuild process for STLport as per readme.txt and got 
 the following error:

That does work with 8.47. I don't know yet what I broke.

And I'm somewhat puzzled how to reduce the search space on a project like STLPort...

dmc -c foo.cpp -e -l ren foo.lst test.cpp dmc -c test.cpp It's now all in one file, test.cpp. Next, edit it to whack it down. I did so, and it reduced to: template <class _T1, class _T2> struct pair { pair(const _T1& __a, const _T2& __b); pair(const pair<_T1,_T2>& __o); }; void expand() { (void) sizeof(pair<int, int>); }
May 30 2006
parent Cesar Rabak <crabak acm.org> writes:
Walter Bright escreveu:
 Cesar Rabak wrote:
 
 Walter Bright escreveu:

 Cesar Rabak wrote:

 I started the rebuild process for STLport as per readme.txt and got 
 the following error:

That does work with 8.47. I don't know yet what I broke.

And I'm somewhat puzzled how to reduce the search space on a project like STLPort...

dmc -c foo.cpp -e -l ren foo.lst test.cpp dmc -c test.cpp It's now all in one file, test.cpp. Next, edit it to whack it down. I did so, and it reduced to: template <class _T1, class _T2> struct pair { pair(const _T1& __a, const _T2& __b); pair(const pair<_T1,_T2>& __o); }; void expand() { (void) sizeof(pair<int, int>); }

May 31 2006