Forgive me if this is the wrong list for this question, but I have the
strangest problem.

I just noticed that '-fno-exceptions' has no effect on .m or .mm
files, but only when '-arch x86_64' is set. In other words,
__EXCEPTIONS is raised when it shouldn't be.

It should be easy for anyone to repro... just run the following
commands in Terminal.

exceptions still enabled!
  gcc -fno-exceptions -arch x86_64 -dM -E -x objective-c++ - <<<'' |
grep __EXCEPTIONS

exceptions not enabled.
  gcc -fno-exceptions -arch i386 -dM -E -x objective-c++ - <<<'' |
grep __EXCEPTIONS
  gcc -fno-exceptions -arch x86_64 -dM -E -x c++ - <<<'' | grep __EXCEPTIONS

-james
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to