c++.stl.port - Warning 12 building STLPort
- Dimitri Kaparis (19/19) Mar 28 2003 Hello,
- Jim Jennings (13/31) Mar 29 2003 dmc -c -o"..\build\static\release\complex_io.obj" -Ae -Ar -DSTRICT -...
Hello, When building STL port (latest package from http://www.digitalmars.com/download/freecompiler.html and compiler version 8.33), for the release builds I get numerous warnings such as below: dmc -c -o"..\build\static\release\complex_io.obj" -Ae -Ar -DSTRICT -D__B UILDING_STLPORT -I../stlport -o+all -Nc -D_MT "complex_io.cpp" complex_io.cpp(145) : Warning 12: variable 'bool __do_handle_exceptions' used b efore set complex_io.cpp(145) : Warning 12: variable 'bool __do_handle_exceptions' used b efore set Also, when building my project which uses STL Port, with optimizations enabled, I get warnings for this and various other variables being used before set. Without optimizations, none of these occur. Is this a misconfiguration, or a problem in the compiler, and is it safe to ignore these? Regards, Dimitri
Mar 28 2003
"Dimitri Kaparis" <dkaparis universalstudyhelper.com> wrote in message news:b6190s$fau$1 digitaldaemon.com...Hello, When building STL port (latest package from http://www.digitalmars.com/download/freecompiler.html and compiler version 8.33), for the release builds I get numerous warnings such as below:dmc -c -o"..\build\static\release\complex_io.obj" -Ae -Ar -DSTRICT -D__BUILDING_STLPORT -I../stlport -o+all -Nc -D_MT "complex_io.cpp" complex_io.cpp(145) : Warning 12: variable 'bool __do_handle_exceptions' used b efore set complex_io.cpp(145) : Warning 12: variable 'bool __do_handle_exceptions' used b efore set Also, when building my project which uses STL Port, with optimizations enabled, I get warnings for this and various other variables being used before set. Without optimizations, none of these occur. Is this a misconfiguration, or a problem in the compiler, and is it safetoignore these? Regards, DimitriDimitri, I asked about "__do_handle_exceptions" warning in February, and in a reply from Richard Grant dated February 21, he said that they are harmless. Subsequently, I built the STLport library, and it has run without any problem for me. I have seen other posts about the optimization problem, so apparently that is a bug in 8.33, but someone else will have to give you a more definite answer on that question. Jim J.
Mar 29 2003