View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015895CMakeCMakepublic2015-12-23 10:502015-12-24 11:24
ReporterBurlen 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product VersionCMake 3.4.1 
Target VersionFixed in Version 
Summary0015895: bootstrap compilation error
Descriptiong++ -I/Users/bloring/apps/cmake/builds/cmake-3.4.1/Bootstrap.cmk -I/Users/bloring/apps/cmake/builds/cmake-3.4.1/Source -I/Users/bloring/apps/cmake/builds/cmake-3.4.1/Bootstrap.cmk -c /Users/bloring/apps/cmake/builds/cmake-3.4.1/Source/cmBootstrapCommands1.cxx -o cmBootstrapCommands1.o
In file included from /usr/include/dispatch/dispatch.h:51:0,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
                 from /Users/bloring/apps/cmake/builds/cmake-3.4.1/Source/cmFindProgramCommand.cxx:16,
                 from /Users/bloring/apps/cmake/builds/cmake-3.4.1/Source/cmBootstrapCommands1.cxx:52:
/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);
   ^
make: *** [cmBootstrapCommands1.o] Error 1
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Steps To Reproduce./configure && make
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0040023)
Rolf Eike Beer (developer)
2015-12-23 12:10

This is an error in your system headers, but it looks strange. Please check that they are not damaged, it looks like there should be a '*' instead of '^'.
(0040024)
Burlen (reporter)
2015-12-23 12:26

Hmm. That does look odd. Then again Apple does a lot of non standard stuff. In any case, I'm sure that I did not do that. That makes me hesitant to change it.

Google turned up this Apple specific extension up.
https://en.wikipedia.org/wiki/Blocks_(C_language_extension) [^]
(0040027)
Burlen (reporter)
2015-12-24 11:19
edited on: 2015-12-24 11:22

I found that there is an install of gcc in /usr/local/ and this was causing all sorts of grief. once I removed that things went smoothly. so please close this report.


 Issue History
Date Modified Username Field Change
2015-12-23 10:50 Burlen New Issue
2015-12-23 12:10 Rolf Eike Beer Note Added: 0040023
2015-12-23 12:26 Burlen Note Added: 0040024
2015-12-24 11:19 Burlen Note Added: 0040027
2015-12-24 11:22 Burlen Note Edited: 0040027
2015-12-24 11:24 Rolf Eike Beer Severity major => minor
2015-12-24 11:24 Rolf Eike Beer Status new => closed
2015-12-24 11:24 Rolf Eike Beer Resolution open => no change required


Copyright © 2000 - 2018 MantisBT Team