From: <cod...@go...> - 2009-08-20 23:26:55
|
Revision: 409 Author: wol...@gm... Date: Thu Aug 20 16:26:28 2009 Log: add flags for proper exception handling on GNUstep http://code.google.com/p/hoc/source/detail?r=409 Modified: /trunk/hoc/HOC.cabal ======================================= --- /trunk/hoc/HOC.cabal Tue Aug 11 11:23:05 2009 +++ /trunk/hoc/HOC.cabal Thu Aug 20 16:26:28 2009 @@ -73,7 +73,6 @@ -- whole point of this exercise. c-sources: HOC_cbits.o - if os(darwin) include-dirs: /usr/include/ffi frameworks: Foundation @@ -82,7 +81,9 @@ -- paths are inserted by Setup.hs extra-libraries: gnustep-base cpp-options: -DGNUSTEP - + cc-options: -fobjc-exceptions + -D_NATIVE_OBJC_EXCEPTIONS=1 + if flag(ObjC2) cpp-options: -D__OBJC2__=1 |