This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/50368] Implicit, precision losing cast in objc/objc-api.h
- From: "nicola at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Oct 2011 10:50:47 +0000
- Subject: [Bug libobjc/50368] Implicit, precision losing cast in objc/objc-api.h
- Auto-submitted: auto-generated
- References: <bug-50368-4@http.gcc.gnu.org/bugzilla/>
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!