https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117683

--- Comment #2 from R. Diez <rdiez-2006 at rd10 dot de> ---

> You know most places which are size constraints ban the use of RTTI.

Popular belief is often wrong. See here for details:

https://github.com/rdiez/DebugDue?tab=readme-ov-file#about-c-exceptions

I am actually using C++ features and C++ exceptions in rather tight
environments. C++ exceptions actually tend to save code space compared with
"if(error)" checks all over the place.

There are other reasons why people may not want the class names in the
binaries:

https://stackoverflow.com/questions/23304820/strip-class-name-from-rtti

Reply via email to