[Dev-C++] dev C++ producing errors on compiling 'hello world' test;
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Tom H <to...@sc...> - 2003-08-11 03:31:03
|
Hello list,
A quick question;
I downloaded a copy of dev-C++ and opened up the hello world example. It =
looked OK
to me so I did a compile and run without changing anything. But there =
were some compiler
errors which prevented it from finishing.
Any idea what I have done to screw up these include files?
(I've posted the compiler output below;)
Cheers
T.
******************************************
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c Untitled1.cpp -o Untitled1.o -I"C:/Dev-Cpp/include/c++" =
-I"C:/Dev-Cpp/include/c++/mingw32" -I"C:/Dev-Cpp/include/c++/backward" =
-I"C:/Dev-Cpp/include" In file included from =
C:/Dev-Cpp/include/windows.h:98,
from =
C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from Untitled1.cpp:1:
C:/Dev-Cpp/include/winsock2.h:95:2: warning: #warning "fd_set and =
associated macros have been defined in sys/types. This may cause =
runtime problems with W32 sockets"=20
In file included from C:/Dev-Cpp/include/c++/bits/locale_facets.h:63,
from C:/Dev-Cpp/include/c++/bits/basic_ios.h:41,
from C:/Dev-Cpp/include/c++/ios:51,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45, =
from Untitled1.cpp:1:
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:44: `_UPPER' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:45: `_LOWER' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:46: `_ALPHA' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:47: `_DIGIT' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:48: `_HEX' was not =
declared in=20
this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:49: `_SPACE' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:50: `_BLANK' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:50: `_PUNCT' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:50: `_ALPHA' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:50: `_DIGIT' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:51: `_PUNCT' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:51: `_ALPHA' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:51: `_DIGIT' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:52: `_CONTROL' was not=20
declared in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:53: `_PUNCT' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:54: `_ALPHA' was not =
declared=20
in this scope
C:/Dev-Cpp/include/c++/mingw32/bits/ctype_base.h:54: `_DIGIT' was not =
declared=20
in this scope In file included from =
C:/Dev-Cpp/include/c++/bits/locale_facets.tcc:41,
from C:/Dev-Cpp/include/c++/locale:46,
from C:/Dev-Cpp/include/c++/bits/ostream.tcc:37,
from C:/Dev-Cpp/include/c++/ostream:275, =
from C:/Dev-Cpp/include/c++/iostream:45,
from Untitled1.cpp:1:
C:/Dev-Cpp/include/c++/cmath: In function `long double std::acos(long =
double)':
C:/Dev-Cpp/include/c++/cmath:109: `::acosl' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::asin(long =
double)':
C:/Dev-Cpp/include/c++/cmath:127: `::asinl' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::atan(long =
double)':
C:/Dev-Cpp/include/c++/cmath:145: `::atanl' undeclared (first use here) =
C:/Dev-Cpp/include/c++/cmath: In function `long double std::atan2(long =
double,=20
long double)':
C:/Dev-Cpp/include/c++/cmath:164: `::atan2l' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::ceil(long =
double)':
C:/Dev-Cpp/include/c++/cmath:183: `::ceill' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::cosh(long =
double)':
C:/Dev-Cpp/include/c++/cmath:211: `::coshl' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::exp(long =
double)':
C:/Dev-Cpp/include/c++/cmath:229: `::expl' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::floor(long=20
double)':
C:/Dev-Cpp/include/c++/cmath:257: `::floorl' undeclared (first use here) =
C:/Dev-Cpp/include/c++/cmath: In function `long double std::fmod(long =
double, long double)':
C:/Dev-Cpp/include/c++/cmath:276: `::fmodl' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::frexp(long =
double,=20
int*)':
C:/Dev-Cpp/include/c++/cmath:295: `::frexpl' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::ldexp(long =
double,=20
int)':
C:/Dev-Cpp/include/c++/cmath:315: `::ldexpl' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::log(long =
double)':
C:/Dev-Cpp/include/c++/cmath:334: `::logl' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::log10(long=20
double)':
C:/Dev-Cpp/include/c++/cmath:352: `::log10l' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::modf(long =
double,=20
long double*)':
C:/Dev-Cpp/include/c++/cmath:376: `::modfl' undeclared (first use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::pow(long =
double,=20
long double)':
C:/Dev-Cpp/include/c++/cmath:410: `::powl' undeclared (first use here) =
C:/Dev-Cpp/include/c++/cmath: In function `long double std::sinh(long =
double)':
C:/Dev-Cpp/include/c++/cmath:451: `::sinhl' undeclared (first use here) =
C:/Dev-Cpp/include/c++/cmath: In function `long double std::tan(long =
double)': C:/Dev-Cpp/include/c++/cmath:479: `::tanl' undeclared (first =
use here)
C:/Dev-Cpp/include/c++/cmath: In function `long double std::tanh(long =
double)':
C:/Dev-Cpp/include/c++/cmath:497: `::tanhl' undeclared (first use here) =
make.exe: *** [Untitled1.o] Error 1 Execution terminated
|