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

David Cole david.cole at kitware.com
Tue Jul 17 09:59:47 EDT 2012


On Tue, Jul 17, 2012 at 9:12 AM, Brad King <brad.king at kitware.com> wrote:
> 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
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

And please let us know what version of Mac OS X and what version of
Xcode/gcc/clang you're using.

(FWIW, the bootstrap test passes on all the Macs we run dashboards on,
so I bet this is an as-yet-uncovered version of Xcode...)



More information about the cmake-developers mailing list