------- Comment #1 from pinskia at gcc dot gnu dot org 2007-02-18 17:27 ------- This is way unrelated to that Ada bug. The reasoning behind the warning is because you will get an ODR issue if you define the class A in a shared library and use it in the executable.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30842