Closed hongxuchen closed 6 years ago
To achieve that,
Actually I'm also considering an exception is harmful, but I'm not sure it's a good decision for now.
Personally I prefer the immediate abortion since for now it introduces the minimal changes.
Now you can define your own failwith.
Given
failwith
is the only function incompatible when-fno-exceptions
is specified, I think it would be great to provide a version where exceptions are disabled. The compilation condition can be guarded by a macro guard.