certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] Solaris8/GCC-3.4.2; Was: Solaris10/SunStudio


From: Martin Spott
Subject: Re: [certi-dev] Solaris8/GCC-3.4.2; Was: Solaris10/SunStudio
Date: Wed, 27 May 2009 19:35:38 +0000 (UTC)
User-agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.29.3 (x86_64))

Eric Noulard wrote:

> Is it really impossible to find a 64 bits long integer type on 32bits
> machine using gcc 3.4.x ??

If I bypass the CMake test and simply add '-DHAVE_INT64' to the
compiler call, then the compiler doesn't complain and creates a nice
object file - I'm even getting a nice, shared 'libHLA'. BUT, simply
adding '-DHAVE_INT64' to every call (by adding it to 'CMakeLists.txt')
doesn't lead much further:

[  2%] Building CXX object libHLA/CMakeFiles/TestHLAtypes.dir/TestHLAtypes.o
/usr/local/bin/c++   -fmessage-length=0 -pedantic -ansi -Wall 
-Woverloaded-virtual -Wno-unused-function -Wno-long-long -g 
-I/usr/local/include/libxml2 -I/usr/local/src/certi/include 
-I/usr/local/src/certi -I/usr/local/src/certi/libHLA   -DHOST_IS_BIG_ENDIAN 
-DHAVE_INT64 -DHAVE_CONFIG_H=1 -DHAVE_XML -DRTI_USES_STD_FSTREAM -o 
libHLA/CMakeFiles/TestHLAtypes.dir/TestHLAtypes.o -c 
/usr/local/src/certi/libHLA/TestHLAtypes.cc
In file included from /usr/local/src/certi/libHLA/HLAtypesIEEE1516.hh:96,
                 from /usr/local/src/certi/libHLA/TestHLAtypes.cc:20:
/usr/local/src/certi/libHLA/HLAbasicType.hh: In member function `const T 
libhla::__swap<T, 8>::operator()(const T&) const':
/usr/local/src/certi/libHLA/HLAbasicType.hh:116: error: `uint64_t' does not 
name a type
/usr/local/src/certi/libHLA/HLAbasicType.hh:116: error: extra semicolon
/usr/local/src/certi/libHLA/HLAbasicType.hh:120: error: `uint64_t' undeclared 
(first use this function)
/usr/local/src/certi/libHLA/HLAbasicType.hh:120: error: (Each undeclared 
identifier is reported only once for each function it appears in.)
/usr/local/src/certi/libHLA/HLAbasicType.hh:120: error: expected 
primary-expression before ')' token
/usr/local/src/certi/libHLA/HLAbasicType.hh:120: error: expected 
primary-expression before ')' token
[...]


Would you like me to send you a copy of the involved int* and sys/int*
header files ?

Cheers,
        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]