[cmake-developers] cmake 2.8.9 rc2 - OS X Lion

Brad King brad.king at kitware.com
Tue Jul 17 09:12:55 EDT 2012


On 07/16/2012 07:10 PM, Nicholas Yue wrote:
> Hi,
> 
> I came across this error while bootstrapping a build on OS X Lion. Has 
> anyone else seen this ?
> 
> /usr/include/c++/4.2.1/cstdarg:60: error: ‘::va_list’ has not been declared
> In file included from /usr/include/c++/4.2.1/iosfwd:45,
> from /usr/include/c++/4.2.1/ios:43,
> from /usr/include/c++/4.2.1/istream:44,
> from /usr/include/c++/4.2.1/fstream:45,
> from 
> /Users/nicholas/temp/cmake-2.8.9-rc2/cmake-2.8.9-rc2/Source/cmStandardIncludes.h:84,
> from 
> /Users/nicholas/temp/cmake-2.8.9-rc2/cmake-2.8.9-rc2/Source/cmStandardIncludes.cxx:12:
> /usr/include/c++/4.2.1/bits/c++locale.h: In function ‘int 
> std::__convert_from_v(int* const&, char*, int, const char*, ...)’:
> /usr/include/c++/4.2.1/bits/c++locale.h:76: error: ‘va_list’ was not 
> declared in this scope
> /usr/include/c++/4.2.1/bits/c++locale.h:76: error: expected `;' before 
> ‘__args’
> /usr/include/c++/4.2.1/bits/c++locale.h:77: error: ‘__args’ was not 
> declared in this scope
> make: *** [cmStandardIncludes.o] Error 1
> ---------------------------------------------
> Error when bootstrapping CMake:
> Problem while running make
> ---------------------------------------------
> Log of errors: 
> /Users/nicholas/temp/cmake-2.8.9-rc2/cmake-2.8.9-rc2/Bootstrap.cmk/cmake_bootstrap.log
> ---------------------------------------------

Thanks for reporting back.  Does this happen with
CMake 2.8.8's sources or is this new in 2.8.9?

Thanks,
-Brad



More information about the cmake-developers mailing list