This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: RFC on PR77828 and internal units
- From: Andre Vehreschild <vehre at gmx dot de>
- To: Jerry DeLisle <jvdelisle at charter dot net>
- Cc: gfortran <fortran at gcc dot gnu dot org>
- Date: Tue, 4 Oct 2016 11:13:34 +0200
- Subject: Re: RFC on PR77828 and internal units
- Authentication-results: sourceware.org; auth=none
- References: <91802a33-2fd1-bd61-747f-aba4d2c2a0bf@charter.net>
Hi Jerry, hi all,
> The patch I posted clearly breaks ABI in the sense that it renames st_read and
> st_write to avoid calling a wrong library with the code compiled with Trunk
> (7.0)
>
> Personally I am OK with this because it is a solid line in the sand.
>
> Another approach would be to call a dummy function say
> "check_library_version_7 in the library initialization code and that would
> also catch the problem.
Sure, but this would not scale, when one has to check for say,
check_library_version_7_3_53p9 and so on. Furthermore was library version
numbering invented to exactly solve the problem at hand.
> Either way, the new library is not 100% compatible with the old.
>
> We can also do some things to be "more" compatible with internal units from
> previous versions, but that gets trickier and I was hoping to not go down that
> road. (back to the drawing board)
>
> Regardless of my opinion, what do others think?
Therefore, my vote for bumping the version number. Folks using computers and
especially those using a compiler will now what to do, when such an error
occurs.
Regards and thanks for so quickly resolving the issue,
Andre
--
Andre Vehreschild * Email: vehre ad gmx dot de