[CMake] Need cmake to work on AIX 5.3

Brad King brad.king at kitware.com
Wed Oct 10 11:21:21 EDT 2012


On 10/10/2012 06:11 AM, Arindam Mukherjee wrote:
> Here are the files.

The first line of this file is missing the leading '#':

 $ head -1 cmake_aix/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
 ifdef __cplusplus

That means you've hit the issue reported here:

 http://www.cmake.org/Bug/view.php?id=13149

which was supposed to be fixed in CMake 2.8.9:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b3c77889

by working around a bug in the compiler's stream library.

Are you sure you're using CMake 2.8.9 and not an older version?
How was CMake itself built?

-Brad


More information about the CMake mailing list