- 论坛徽章:
- 0
|
RHEL AS4下编译IDS94 demo出错,请高人指点
- /usr/bin/g++ -g -DIT_DO_NOT_SIMULATE_BOOL -DIT_HAS_DISTINCT_LONG_DOUBLE -DIT_COMPILER_HAS_LONG_LONG -DIT_DLLIB -DMITRACE_OFF -I/home/informix/incl/c++ -I/home/informix/incl/dmi -I/home/informix/incl -I/home/informix/incl/esql -c testtype.cpp
- In file included from /usr/include/c++/3.2.3/backward/iostream.h:31,
- from /home/informix/incl/c++/itcppop.h:90,
- from /home/informix/incl/c++/it.h:123,
- from testtype.cpp:21:
- /usr/include/c++/3.2.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
- In file included from /usr/include/c++/3.2.3/clocale:49,
- from /usr/include/c++/3.2.3/i386-redhat-linux/bits/c++locale.h:36,
- from /usr/include/c++/3.2.3/bits/localefwd.h:46,
- from /usr/include/c++/3.2.3/ios:48,
- from /usr/include/c++/3.2.3/ostream:45,
- from /usr/include/c++/3.2.3/iostream:45,
- from /usr/include/c++/3.2.3/backward/iostream.h:32,
- from /home/informix/incl/c++/itcppop.h:90,
- from /home/informix/incl/c++/it.h:123,
- from testtype.cpp:21:
- /usr/include/locale.h:148: conflicting types for `typedef struct
- __locale_struct*locale_t'
- /home/informix/incl/dmi/gls.h:926: previous declaration as `typedef
- void*locale_t'
- testtype.cpp: In member function `virtual const ITString&
- TestType::Printable()':
- testtype.cpp:193: `hex' undeclared (first use this function)
- testtype.cpp:193: (Each undeclared identifier is reported only once for each
- function it appears in.)
- make: *** [testtype.o] Error 1
复制代码
这两行怎么解决?
usr/include/locale.h:148: conflicting types for `typedef struct
__locale_struct*locale_t'
/home/informix/incl/dmi/gls.h:926: previous declaration as `typedef
void*locale_t' |
|