On 02/11/2014 10:27 PM, Jan Hubicka wrote:
On 02/11/2014 07:54 PM, Jan Hubicka wrote:
+         /* Allow combining RTTI and non-RTTI is OK.  */

You mean combining -frtti and -fno-rtti compiles?  Yes, that's fine,
though you need to prefer the -frtti version in case code from that
translation unit uses the RTTI info.

Is there some mechanism that linker will do so? At the moment we just chose 
variant
that would be selected by linker.  I can make the choice, but what happens with 
non-LTO?

Hmm, the linker might well make the wrong choice. Might be worth warning about this as well.

+           "a type with the same name but number of virtual methods is "

"but different number"

Jason

Reply via email to