Hi Iain, I'm not sure if this will work, but it might be worth a try...
Does it work if you add "-lgcc_eh" to the gcc_flags? Jeff On Tue, Sep 11, 2012 at 8:03 AM, mcleodia <[email protected]> wrote: > Dear all. > > We are compiling a static library built in c++ into our monotouch app, as > per http://docs.xamarin.com/ios/advanced_topics/linking_native_libraries > > This works, and the application _mostly_ runs, but it appears that > exception > handling doesn't seem to be working properly in that library. > > I tried adding -fexceptions to the -gcc_flags extra argument to mtouch (the > library has been built with the -fexceptions flag too) and it still doesn't > seem to be working correctly: > > <MtouchExtraArgs>-cxx -gcc_flags "-fexceptions -L${ProjectDir}/OpenHome/Ios > -lohNetCore -force_load > ${ProjectDir}/OpenHome/Ios/libohNetCore.a"</MtouchExtraArgs> > > > Anyone got any idea what we have missed? > > Cheers > Iain > > > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/exception-handling-in-native-lib-not-working-with-mtouch-tp4656947.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
