This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40920] Derived type with BIND(C) - rejected as argument.
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jan 2010 00:43:48 -0000
- Subject: [Bug fortran/40920] Derived type with BIND(C) - rejected as argument.
- References: <bug-40920-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from kargl at gcc dot gnu dot org 2010-01-13 00:43 -------
A related issue has been reported here
http://groups.google.com/group/comp.lang.fortran/browse_frm/thread
/ddc211f2987326b8#
in particular the error message needs to be rewritten.
Error: Type 'resultat' at (1) is a parameter to the BIND(C) procedure
'gsl_sf_lngamma_sgn_e_wrapper' but is not C interoperable because
derived type 'gsl_sf_result' is not C interoperable.
resultat is not a type, and it most definitely is not a parameter.
Possible wording
Error: Argument 'resultat' at (1) to the BIND(C) procedure
'gsl_sf_lngamma_sgn_e_wrapper' is not ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40920