You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code fails when it hits the math.h header:
importLanguage.ObjCimportLanguage.ObjC.System-- Example framework header location /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.hmain::IO()
main =print=<< parseCFile (newGCC "clang") Nothing[]"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h"
Results in:
Left /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/math.h:565: (column 72) [ERROR] >>> Syntax Error !
Syntax error !
The symbol `=' does not fit here.
I've tried specifying both gcc and clang as the compiler, but neither works.
The text was updated successfully, but these errors were encountered:
iand675
changed the title
language-objc fails to preprocess & parse Foundation header on OSX 10.10
language-objc fails to preprocess & parse Foundation header on OSX 10.11
Oct 26, 2016
The following code fails when it hits the
math.h
header:Results in:
I've tried specifying both gcc and clang as the compiler, but neither works.
The text was updated successfully, but these errors were encountered: