https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53943
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-07-27 CC| |egallager at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> --- On Darwin it does this: $ /usr/local/bin/gcc -fobjc-direct-dispatch 53943.m -lobjc 53943.m: In function ‘main’: 53943.m:14:2: error: ‘-fobjc-exceptions’ is required to enable Objective-C exception syntax @throw [Interface new]; ^ $ /usr/local/bin/gcc -fobjc-direct-dispatch -fobjc-exceptions 53943.m -lobjc $ I don't have Linux to test; could you try again with adding the -fobjc-exceptions flag on your machine?