Created
August 13, 2012 01:27
-
-
Save jweinberg/3336233 to your computer and use it in GitHub Desktop.
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested on Yosemite
Rather than modify Apple's CoreGraphics framework, I instead was able to prepend ruby/ruby.cpp:
#define __has_attribute(x) 0 // Compatibility with non-clang compilers.
Furthermore, in my experience building higan v094 for OSX, other modifications were necessary. I am including a patch:
Patch Notes
/Library/Application Support/higan/Video Shaders
but they are incorrectly installed into/usr/share/higan/Video Shaders
Installing Full package
Example from the higan source directory, with patch in parent folder