Problem with MinGW and gcc3.3.1

ingwer.c.carlsen@philips.com ingwer.c.carlsen@philips.com
Thu Aug 21 07:17:00 GMT 2003


Hi every one,

I just installed the latest version of MinGW under Windows XP, i.e.

MinGW-3.0.0.r4.exe
mingw-runtime-3.0.tar.gz
gcc-core-3.3.1-20030804-1.tar.gz
gcc-g++-3.3.1-20030804-1.tar.gz

and get the following error messages when compiling code that compiled
silently under gcc.3.2.2 and MinGW2.0.0  with -O3 -Wall -ansi -pedantic.

In file included from e:/gcc/include/c++/3.3.1/bits/stl_algobase.h:67,
                 from e:/gcc/include/c++/3.3.1/memory:54,
                 from e:/gcc/include/c++/3.3.1/string:48,
                 from BSpline1D.hpp:8,
                 from BSpline1D.cpp:5:
e:/gcc/include/c++/3.3.1/cstdlib:145: error: `_Exit' not declared
e:/gcc/include/c++/3.3.1/cstdlib:185: error: `_Exit' not declared
In file included from e:/gcc/include/c++/3.3.1/bits/stl_algobase.h:67,
                 from e:/gcc/include/c++/3.3.1/memory:54,
                 from e:/gcc/include/c++/3.3.1/string:48,
                 from CommandFileInterpreter.hpp:8,
                 from CommandFileInterpreter.cpp:5:
e:/gcc/include/c++/3.3.1/cstdlib:145: error: `_Exit' not declared
e:/gcc/include/c++/3.3.1/cstdlib:185: error: `_Exit' not declared

....

What is the reason for the error appearing in the system include file?

With kind regards
I.C.Carlsen

Dr.Ingwer C.Carlsen
Philips Research Laboratories, Division Technical Systems
Roentgenstrasse 24-26, D-22335 Hamburg, Germany

Tel. :+49 40 5078 2043
Fax. :+49 40 5078 2510
Email:ingwer.c.carlsen@philips.com




More information about the Gcc-bugs mailing list