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

janis at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 30 21:46:00 GMT 2011


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

--- Comment #2 from Janis Johnson <janis at gcc dot gnu.org> 2011-11-30 21:33:46 UTC ---
The definitions that n2732 wants to add are typedefs to the C++ classes, but
interoperability with C requires the typedefs using modes that Ryan shows.  I
never got a good answer from the authors of the C++ technical report about how
to provide C/C++ interoperability.

I'm not sure what dfp/stdlib.h is, but perhaps it should define typedefs if
__cplusplus is defined.



More information about the Gcc-bugs mailing list