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 fortran/40920] Derived type with BIND(C) - rejected as argument.



------- 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


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