nitlang / nit

Nit language
http://nitlanguage.org
Apache License 2.0
239 stars 65 forks source link

gcc: do not warn about unreachable switches #2781

Open privat opened 5 years ago

privat commented 5 years ago

The C code is generated naively and we do not try to remove dead parts. Thus silent C compiler warnings about unreachable things.

Close #2780

privat commented 5 years ago

It seems that the mac version of gcc does not like the new option :(

privat commented 5 years ago

Maybe we should just disable warnings in gcc?