vicoapp / vico

Mac Programmers Text Editor

Home Page:http://www.vicoapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build issue with Xcode 4.4 GM

marcusramberg opened this issue · comments

xcrun clang -O0 -fvisibility=hidden -gdwarf-2 -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-sign-conversion -Wall -Werror -DPL_BLOCKIMP_PRIVATE -arch x86_64 -isysroot /Applications/Xcode44-DP7.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.6 -fasm-blocks -Wshorten-64-to-32 -include-pch /Users/marcus/Source/vico/build/DEBUG/obj/x86_64/Vico-prefix.objc.pth -Iapp -Ijson -Ioniguruma -Iuniversalchardet -I/Users/marcus/Source/vico/build/DEBUG/derived/x86_64 -F. -Iplblockimp/Source -F/Users/marcus/Source/vico/build/DEBUG/sparkle -MMD -MT /Users/marcus/Source/vico/build/DEBUG/obj/x86_64/ExAddress.o -MF /Users/marcus/Source/vico/build/DEBUG/obj/x86_64/ExAddress.d app/ExAddress.m -c -o /Users/marcus/Source/vico/build/DEBUG/obj/x86_64/ExAddress.o
app/ExAddress.m:64:68: error: data argument not used by format string [-Werror,-Wformat-extra-args]
return [NSString stringWithFormat:@"<ExAddress %p: none>", self, _offset];
~~~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
make[1]: *** [/Users/marcus/Source/vico/build/DEBUG/obj/x86_64/ExAddress.o] Error 1
make: *** [app] Error 2

< headscratch > What does your line 64 look like in that file? There should be content in there:

        return [NSString stringWithFormat:@"<ExAddress %p: none>", self, _offset];

EDIT: Never mind, markdown probably ate that. I see the issue.

Good, because it looks a lot like that :)

PR #18 fixes this and a few other issues with clang 4. You can also build anyway by removing -Werror from CFLAGS in Makefile:423 until this is fixed in master.

Shadowfiend++