Mass of weird errors
Mass of weird errors
- Subject: Mass of weird errors
- From: tridiak <email@hidden>
- Date: Thu, 27 Oct 2016 22:08:18 +1300
Hello. I re-opened a project that was, until now, error free.
Went to compile and I got 190+ errors.
They are all similar to the following:
----------------------------------------------------
CompileC /Users/tridiak/Library/Developer/Xcode/DerivedData/DirTree-fnbbqxqkwsgulrfmgcsnvbkxkhqa/Build/Intermediates/DirTree.build/Debug/DirTree.build/Objects-normal/x86_64/main.o DirTree/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/tridiak/Programming/Active_Projects/DirTree_4/DirTreev4/DirTree
export LANG=en_US.US-ASCII
/Applications/XC7/XC7.3/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/tridiak/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/tridiak/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 -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/XC7/XC7.3/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.9 -g -Wno-sign-conversion -I/Users/tridiak/Library/Developer/Xcode/DerivedData/DirTree-fnbbqxqkwsgulrfmgcsnvbkxkhqa/Build/Intermediates/DirTree.build/Debug/DirTree.build/DirTree.hmap -I/Users/tridiak/Library/Developer/Xcode/DerivedData/DirTree-fnbbqxqkwsgulrfmgcsnvbkxkhqa/Build/Products/Debug/include -I/opt/local/include -I/Users/tridiak/Library/Developer/Xcode/DerivedData/DirTree-fnbbqxqkwsgulrfm
gcsnvbkxkhqa/Build/Intermediates/DirTree.build/Debug/DirTree.build/DerivedSources/x86_64 -I/Users/tridiak/Library/Developer/Xcode/DerivedData/DirTree-fnbbqxqkwsgulrfmgcsnvbkxkhqa/Build/Intermediates/DirTree.build/Debug/DirTree.build/DerivedSources -F/Users/tridiak/Library/Developer/Xcode/DerivedData/DirTree-fnbbqxqkwsgulrfmgcsnvbkxkhqa/Build/Products/Debug -MMD -MT dependencies -MF /Users/tridiak/Library/Developer/Xcode/DerivedData/DirTree-fnbbqxqkwsgulrfmgcsnvbkxkhqa/Build/Intermediates/DirTree.build/Debug/DirTree.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/tridiak/Library/Developer/Xcode/DerivedData/DirTree-fnbbqxqkwsgulrfmgcsnvbkxkhqa/Build/Intermediates/DirTree.build/Debug/DirTree.build/Objects-normal/x86_64/main.dia -c /Users/tridiak/Programming/Active_Projects/DirTree_4/DirTreev4/DirTree/DirTree/main.m -o /Users/tridiak/Library/Developer/Xcode/DerivedData/DirTree-fnbbqxqkwsgulrfmgcsnvbkxkhqa/Build/Intermediates/DirTree.build/Debug/DirTree.build/Objects-normal/x86_64/main.o
While building module 'Cocoa' imported from /Users/tridiak/Programming/Active_Projects/DirTree_4/DirTreev4/DirTree/DirTree/main.m:9:
While building module 'Foundation' imported from /Applications/XC7/XC7.3/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
While building module 'CoreFoundation' imported from /Applications/XC7/XC7.3/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Darwin' imported from /Applications/XC7/XC7.3/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from <module-includes>:326:
In file included from /Applications/XC7/XC7.3/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/ncurses.h:141:
/opt/local/include/unctrl.h:60:63: error: unknown type name 'SCREEN'
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
^
/opt/local/include/unctrl.h:60:53: error: function cannot return function type 'char *(int *, chtype)' (aka 'char *(int *, unsigned int)')
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
^
/opt/local/include/unctrl.h:60:54: error: a parameter list without types is only allowed in a function definition
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
————————————————
I have never seen this before. Last time I opened the project, it was fine.
I have not changed any build settings.
Cleaning and deleting derived data did nothing.
This occurs XC 7.3 & 8.0.
OS 10.11.6.
Any idea why this is occurring?
TIA
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden