This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51364] C++ interoperability with ISO-C extension DFP types requires explicit typedefs.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51364

--- Comment #5 from Ryan S. Arnold <rsa at us dot ibm.com> 2011-12-09 16:03:04 UTC ---
As a temporary fix I've added the following to libdfp:

http://www.eglibc.org/cgi-bin/viewvc.cgi/libdfp/trunk/dfp/float.h?view=markup

This adds <dfp/float.h>, which does #include_next <float.h>, and then checks to
see #ifdef __cplusplus and #ifndef _Decimal64.  If both pass, then it means
that the compiler has not yet added _Decimal[32|64|128] compatibility support
to float.h and it defines them itself.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]