bug-commoncpp
[Top][All Lists]
Advanced

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

Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0 after some


From: Ronald_Horrell
Subject: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0 after some tweaking
Date: Thu, 27 Jan 2005 13:03:32 -0500

Hi All,
        I was finally able to successfully compile version 1.3.1 on AIX 5.2 /w 
Visual Age C++ after some tweaking.

System Details:

   Compiler: VisualAge C++ Compiler Version 6.0.0.5
   OS: AIX 5.2.0.0

C/C++ Flags: 

   "-qcpluscmt" or "-+" Allows C++ comments "//" in C files.  
   "-qlanglvl=redefmac" Allows macros to be redefined without #undef 
"_THREAD_SAFE"

configure Flags:
   "--enable-static --disable-shared": Personal preference
   "--without-exceptions": Needed due to use of "dynamic_cast without RTTI" 
error.

config.h:
   HAVE_SYS_LIBCSYS_H: Had to be commented out due to errors with memcopy 
declarations.

libtool:
   "${CC/${host}-}": "bad substitution error" (lines 904 and 1297) had to 
comment out check.


        With these changes it compiles and runs successfully.  


Note:
   The VisualAge C++ Compiler doesn't like "#pragma pack()" and gives numerous 
warning messages. With this compiler you would need to do "#pragma 
pack(nopack)" instead.

Thanks,
Ron Horrell


**********************************************************************
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you
**********************************************************************





reply via email to

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