[C++-sig] Problem with identifying polymorphic types on Mac OS X?
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Thu Dec 15 00:08:30 CET 2005
It is a bogus error message I have been struggling with for some time. Here is
one of my typical workarounds:
// lots of code...
#if defined(__APPLE__) && defined(__MACH__) \
&& defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ == 3
const wyckoff::position* position_;
I.e. simply adding a dummy bool as a member is typically enough to make the
compiler happy. I've not been able to figure out what exactly causes the bogus
error message. If anyone knows I'd be glad to learn about it.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Cplusplus-sig