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 libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF



------- Comment #2 from kargl at gcc dot gnu dot org  2007-03-05 23:27 -------
The value 5008 is listed in libgfortran.h as ERROR_ENDFILE.  The
-1 corresponds to ERROR_END.  So, the return value of 5008 is 
telling you that you are trying to (initiate a?) read beyond
the end of the file, which you admit to doing.

AFAIK, the IOSTAT values aren't documented in gfortran.texi.
Someday, someone will get around to documenting them.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu dot org


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


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