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/32580] iso_c_binding c_f_procpointer / procedure pointers



------- Comment #7 from burnus at gcc dot gnu dot org  2007-10-16 11:26 -------
> Since adding c_f_procpointer might change the fortran runtime library, will
> this addition be OK for 4.4 ?
Additions of functions is no problem; also modifying functions
arguments/functionality is no problem. However, obsolete (i.e. unused)
functions remain in the library (for old programs).

If the function interface is changed, the old function remains in the library
(with the old version number) and the new version of the function is added.
If symbol versioning is supported (e.g. under Linux), old programs continue to
work flawlessly with new libraries.

Thus: Library interface changes before 4.3.0 is released are nice, because one
will not need to carry obsolete functions along; otherwise the development is
not hampered at all. For procedure pointers, I expect that one doesn't need to
touch the library at at all (but I might be wrong).


-- 


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


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