http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50368
Nicola Pero <nicola at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |nicola at gcc dot gnu.org Resolution| |FIXED --- Comment #1 from Nicola Pero <nicola at gcc dot gnu.org> 2011-10-09 10:50:47 UTC --- Florian, thanks a lot for your report. You are right that there is a loss-precision cast in there. :-) But the function class_get_version() was part of the Traditional API, which was deprecated in GCC 4.6.1 and has been removed in trunk (ie, GCC 4.7.0). So, the function class_get_version() (and the entire file objc/objc-api.h) will no longer exist in GCC 4.7.0, which implicitly fixes your problem. :-) Thanks again!