kayws426 / embox

Automatically exported from code.google.com/p/embox
0 stars 1 forks source link

Disable rtti, exceptions and stack unwinding support #526

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?
There are currently only stubs for rtti, exceptions and stack unwinding 
support, it is not possible to use them at runtime and some stuff will not even 
link. It is necessary to remove stubs of runtime support routines and disable 
exceptions and rtti in CFLAGS and CXXFLAGS: "-fno-exceptions -fno-rtti" 
(remembed that plain C also requires some support for exceptions - this is what 
gcc key -fexceptions is for)

What goals would this enhancement help you to achieve?
Pretending that we have these features would actually confuse developers and 
users. It is better to make compiler complaint about unsupported feature than 
fail at runtime.
There will be separate issue about supporting these features properly.

How are you going to implement the enhancement?
Some clean-up is required.

Original issue reported on code.google.com by fsul...@gmail.com on 23 Jan 2013 at 1:17

GoogleCodeExporter commented 9 years ago

Original comment by fsul...@gmail.com on 29 Jan 2013 at 3:28