This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Runtime error messages
- From: Thomas Koenig <Thomas dot Koenig at online dot de>
- To: Jerry DeLisle <jvdelisle at verizon dot net>
- Cc: Fortran List <fortran at gcc dot gnu dot org>
- Date: Sun, 18 Dec 2005 16:56:09 +0100
- Subject: Re: Runtime error messages
- References: <43A50B1D.6020804@verizon.net>
On Sat, Dec 17, 2005 at 11:09:17PM -0800, Jerry DeLisle wrote:
> I would like to suggest that we add a runtime error type ERROR_INTERNAL to
> replace some of the places where we are now using ERROR_OS in the library.
>
> ERROR_OS would be useful if we get an actual OS error like when reading or
> writing a file. But for internal units, we are just reading and writing
> from memory. It is unlikely we will get an error here unless we invoke the
> call incorrectly.
> I would like to have the error message say "Internal error!" rather than
> "Success" in these cases. It really throws people off.
> Any one agree?
Is this for errors on internal files, or library internal errors (where
we mess up somewhere in the library)? Both would make sense, depending
on the situation, but I would like to differentiate between them.
ERROR_INTERNAL and ERROR_INTERNALFILES would be good, I think.
Thomas