This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In file included from ruby/ruby.cpp:5: | |
| In file included from ./ruby/ruby_impl.cpp:21: | |
| In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24: | |
| In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:28: | |
| In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h:28: | |
| In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h:28: | |
| In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h:24: | |
| In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h:8: | |
| /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:143:6: error: builtin feature check macro requires a parenthesized identifier | |
| # if __CG_HAS_COMPILER_ATTRIBUTE(noinline) | |
| ^ | |
| /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:16:50: note: expanded from macro '__CG_HAS_COMPILER_ATTRIBUTE' | |
| # define __CG_HAS_COMPILER_ATTRIBUTE(attribute) __has_attribute(attribute) | |
| ^ | |
| /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:143:34: error: token is not a valid binary operator in a preprocessor subexpression | |
| # if __CG_HAS_COMPILER_ATTRIBUTE(noinline) | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | |
| ./nall/platform.hpp:73:33: note: expanded from macro 'noinline' | |
| #define noinline __attribute__((noinline)) | |
| ^ | |
| /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:16:66: note: expanded from macro '__CG_HAS_COMPILER_ATTRIBUTE' | |
| # define __CG_HAS_COMPILER_ATTRIBUTE(attribute) __has_attribute(attribute) |
This comment has been minimized.
This comment has been minimized.
|
Same. |
This comment has been minimized.
This comment has been minimized.
|
seems like a compiler bug i changed /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:16 from
to
and it worked for me |
This comment has been minimized.
This comment has been minimized.
Tested on YosemiteRather than modify Apple's CoreGraphics framework, I instead was able to prepend ruby/ruby.cpp: Furthermore, in my experience building higan v094 for OSX, other modifications were necessary. I am including a patch: Patch Notes
Installing Full packageExample from the higan source directory, with patch in parent folder
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
I was trying to compile bsnes using clang and ran into this error as well. Any tips?