[Dev-C++] Compile errors in MinGW's header locale_facets.h
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Emil B. <zrn...@ya...> - 2005-02-14 00:39:49
|
I'm using Dev-CPP IDE with MinGW g++ compiler version 3.3.1, wxWidget GUI, and OpenCascade 5.0 - CAD kernel (actually there is also Knizhnik GOODS object database)
So, I put some header from that kernel in my header newProgramFrameApp.h i.e.:
...
#include <Graphic3d_WNTGraphicDevice.hxx>
... and then I get compile errors in MinGW's header:
... include/c++/3.3.1/bits/locale_facets.h
as you can see in compile log.
I can't realize why it happens, perhaps I missed some compiler options or flag?
Thanks in advance!
Compiler: Default compiler
Building Makefile: "H:\Projects\eCADb\Makefile.win"
Executing make...
make.exe -f "H:\Projects\eCADb\Makefile.win" src/gui/newProgramFrameApp.o
g++.exe -c src/gui/newProgramFrameApp.cpp -o src/gui/newProgramFrameApp.o -I"H:/dev-cpp/include/c++/3.3.1" -I"H:/dev-cpp/include/c++/3.3.1/mingw32" -I"H:/dev-cpp/include/c++/3.3.1/backward" -I"H:/dev-cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"H:/dev-cpp/include" -I"H:/Projects/eCADb/inc" -I"H:/databases/GOODS/goods-291/goods/inc" -I"H:/Projects/eCADb/resources" -I"H:/OpenCascade/OpenCASCADE5.0/ros/inc" -fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ -D_WIN32 -D_MING32_ -DUSE_NAMESPACES -DNDEBUG -DWIN32 -D_WINDOWS -DWNT
....
H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h: In constructor `std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)':
H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h:696: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h:696: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h:697: error: there are no arguments to `_M_initialize_numpunct' that depend on a template parameter, so a declaration of `_M_initialize_numpunct' must be available H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h: In destructor `virtual std::numpunct_byname<_CharT>::~numpunct_byname()':
H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h:703: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h: In constructor `std::collate_byname<_CharT>::collate_byname(const char*, size_t)':
H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h:1077: error: `_M_c_locale_collate' undeclared (first use this function) H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h:1077: error: (Each undeclared identifier is reported only once for each function it appears in.) H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h:1077: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available H:/dev-cpp/include/c++/3.3.1/bits/locale_facets.h:1078: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available In file included from H:/dev-cpp/include/c++/3.3.1/bits/basic_ios.h:44,
from H:/dev-cpp/include/c++/3.3.1/ios:51,
from H:/dev-cpp/include/c++/3.3.1/ostream:45,
from H:/dev-cpp/include/c++/3.3.1/iostream:45,
from H:/dev-cpp/include/c++/3.3.1/backward/iostream.h:32,
from H:/OpenCascade/OpenCASCADE5.0/ros/inc/Standard_Stream.hxx:4,
from H:/OpenCascade/OpenCASCADE5.0/ros/inc/Standard_TypeDef.hxx:22,
from H:/OpenCascade/OpenCASCADE5.0/ros/inc/Standard_Address.hxx:16,
from H:/OpenCascade/OpenCASCADE5.0/ros/inc/Standard.hxx:28, from H:/OpenCascade/OpenCASCADE5.0/ros/inc/Graphic3d_WNTGraphicDevice.hxx:20, from H:/Projects/eCADb/inc/newProgramFrameApp.h:13,
from src/gui/newProgramFrameApp.cpp:9:
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |