Skip to content

Instantly share code, notes, and snippets.

@Asher-
Created July 15, 2017 13:55
Show Gist options
  • Save Asher-/6498ab41913cf67957c35d3e71be96aa to your computer and use it in GitHub Desktop.
Save Asher-/6498ab41913cf67957c35d3e71be96aa to your computer and use it in GitHub Desktop.
∴ /usr/local/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu++14 -stdlib=libc++ -fmodules -gmodules -fmodules-cache-path=/Users/asher/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/asher/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DDEBUG=1 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.12 -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wunguarded-availability -iquote /Users/asher/Projects/•Intermediates/Ensemble.build/Debug/ModuleMain.build/ModuleMain-generated-files.hmap -I/Users/asher/Projects/•Intermediates/Ensemble.build/Debug/ModuleMain.build/ModuleMain-own-target-headers.hmap -I/Users/asher/Projects/•Intermediates/Ensemble.build/Debug/ModuleMain.build/ModuleMain-all-target-headers.hmap -iquote /Users/asher/Projects/•Intermediates/Ensemble.build/Debug/ModuleMain.build/ModuleMain-project-headers.hmap -I/Users/asher/Projects/•Products/Debug/include -I/Users/asher/Projects/xcode/../strongai/test -I/Users/asher/Projects/xcode/../strongai -I/usr/local/include -I/Users/asher/Projects/•Intermediates/Ensemble.build/Debug/ModuleMain.build/DerivedSources/x86_64 -I/Users/asher/Projects/•Intermediates/Ensemble.build/Debug/ModuleMain.build/DerivedSources -F/Users/asher/Projects/•Products/Debug -fdiagnostics-show-template-tree -ftemplate-depth=512 -ftemplate-backtrace-limit=0 -std=c++1z -fmodules-ts -fcxx-modules -Wno-unused-command-line-argument -fprebuilt-module-path=/Users/asher/Projects/xcode/../•Modules -fbuiltin-module-map -fimplicit-module-maps -MMD -MT dependencies -MF /Users/asher/Projects/•Intermediates/Ensemble.build/Debug/ModuleMain.build/Objects-normal/x86_64/module_main.d --serialize-diagnostics /Users/asher/Projects/•Intermediates/Ensemble.build/Debug/ModuleMain.build/Objects-normal/x86_64/module_main.dia -c /Users/asher/Projects/xcode/Ensemble/module_main.cpp -o /Users/asher/Projects/•Intermediates/Ensemble.build/Debug/ModuleMain.build/Objects-no
While building module 'std' imported from /Users/asher/Projects/xcode/Ensemble/module_main.cpp:5:
While building module 'Darwin' imported from /usr/local/include/c++/v1/ctype.h:39:
In file included from <module-includes>:620:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/mach.h:67:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/mach_interface.h:43:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/host_priv.h:200:10: error: expected ')'
kmod_t *module
^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/host_priv.h:197:1: note: to match this '('
(
^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/host_priv.h:212:9: error: expected ')'
kmod_t module
^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/host_priv.h:210:1: note: to match this '('
(
^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/host_priv.h:224:9: error: expected ')'
kmod_t module,
^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/host_priv.h:222:1: note: to match this '('
(
^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/host_priv.h:554:10: error: expected member name or ';' after declaration specifiers
kmod_t module;
~~~~~~ ^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/host_priv.h:570:10: error: expected member name or ';' after declaration specifiers
kmod_t module;
~~~~~~ ^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach/host_priv.h:903:10: error: expected member name or ';' after declaration specifiers
kmod_t module;
~~~~~~ ^
6 errors generated.
While building module 'std' imported from /Users/asher/Projects/xcode/Ensemble/module_main.cpp:5:
In file included from <module-includes>:2:
/usr/local/include/c++/v1/ctype.h:39:15: fatal error: could not build module 'Darwin'
#include_next <ctype.h>
~~~~~~~~~~~~~^
7 errors generated.
/Users/asher/Projects/xcode/Ensemble/module_main.cpp:5:8: fatal error: could not build module 'std'
import std;
~~~~~~~^~~
8 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment