On Thu, 1 Oct 2015 16:51:55 -0700, Damian Rouson said: >/usr/include/dispatch/object.h:143:15: error: expected unqualified-id >before '^' token > typedef void (^dispatch_block_t)(void); > ^ >/usr/include/dispatch/object.h:143:15: error: expected ')' before '^' token >/usr/include/dispatch/object.h:362:3: error: 'dispatch_block_t' has not >been declared > dispatch_block_t notification_block);
Your compiler doesn't support "blocks": <https://en.wikipedia.org/wiki/Blocks_(C_language_extension)> and the latest OS X SDKs require such support. You could try building CMake against an older SDK, or just use clang, the default compiler on OS X. I think Apple added blocks support to their fork of gcc (long ago), but I don't think it ever went into mainline gcc. Cheers, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake