c++.stl.port - Compile error with STLPort and -A
- Steve Love (12/12) Oct 20 2004 Trying to compile just
- Scott Michel (6/20) Oct 20 2004 Well-known problem: '-A' and STLport don't work together due to the
- Steve Love (5/11) Oct 20 2004 OK. I *did* look through archived messages - honest! Only saw one post, ...
Trying to compile just int main() { } with STLPort 4.5 as downloaded from the DM homepage, and the free 8.41 compiler. W:\dev\scratch\dm_test>dmc -A -Id:/bin/dm/stlport/stlport 1.cpp ^ d:/bin/dm/stlport/stlport\stl/_config.h(370) : Preprocessor error: '_STLP_DEFAULT_TYPE_PARAM' is already defined --- errorlevel 1 Steve
Oct 20 2004
Steve Love wrote:Trying to compile just int main() { } with STLPort 4.5 as downloaded from the DM homepage, and the free 8.41 compiler. W:\dev\scratch\dm_test>dmc -A -Id:/bin/dm/stlport/stlport 1.cpp ^ d:/bin/dm/stlport/stlport\stl/_config.h(370) : Preprocessor error: '_STLP_DEFAULT_TYPE_PARAM' is already defined --- errorlevel 1Well-known problem: '-A' and STLport don't work together due to the STLport developers' coding style. Since I'm not a "core" STLport developer (and I suspect no one else who uses DMC is one either), there's no quick way of fixing this, other than no using '-A'. -scooter
Oct 20 2004
In article <cl657m$1mo$1 digitaldaemon.com>, Scott Michel says...Well-known problem: '-A' and STLport don't work together due to the STLport developers' coding style.OK. I *did* look through archived messages - honest! Only saw one post, with a reply about not having a '+' in paths.Since I'm not a "core" STLport developer (and I suspect no one else who uses DMC is one either), there's no quick way of fixing this, other than no using '-A'.Me neither. Shame but there you go. Thanks for the response.-scooterSteve
Oct 20 2004