2017年7月10日 的存档

GNUmakefile native-objc-exceptions does not match that of gnustep-base

  参考资料: http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/WritingMakefiles.html
  在使用GNUmakefile文件的时候,按照官方文档建好之后却编译失败了,报错误:
error: #error The current setting for native-objc-exceptions does not match that of gnustep-base … please correct this.
h.m: In function ‘main’:
h.m:4: error: stray ‘@’ in program
h.m:4: error: ‘autoreleasepool’ undeclared (first use in this function)
h.m:4: error: (Each undeclared identifier is reported only once
h.m:4: error: for each function it appears in.)
h.m:4: error: expected ‘;’ before ‘{’ token
gmake[3]: *** [obj/h.obj/h.m.o] Error 1
gmake[2]: *** [internal-tool-all_] Error 2
gmake[1]: *** [h.all.tool.variables] Error 2
make: *** [internal-all] Error 2
阅读更多…