This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran-dev] PR25561, new low level I/O library
On Sunday 22 March 2009 11:53:41 Janne Blomqvist wrote:
> Committed as r144993. Changelog is in a separate file,
> libgfortran/Changelog.dev , as previously discussed.
Janne,
trying to build the branch (r144994) on i686-pc-linux-gnu, I get:
../../../libgfortran/io/file_pos.c: In function 'formatted_backspace':
../../../libgfortran/io/file_pos.c:51: warning: implicit declaration of
function 'stell'
../../../libgfortran/io/file_pos.c:57:38: error: macro "sseek" passed 3
arguments, but takes just 2
../../../libgfortran/io/file_pos.c:57: error: 'sseek' undeclared (first use in
this function)
../../../libgfortran/io/file_pos.c:57: error: (Each undeclared identifier is
reported only once
../../../libgfortran/io/file_pos.c:57: error: for each function it appears
in.)
../../../libgfortran/io/file_pos.c:59: warning: passing argument 3 of 'u->s-
>read' makes pointer from integer without a cast
../../../libgfortran/io/file_pos.c:59: note: expected 'size_t *' but argument
is of type 'ssize_t'
../../../libgfortran/io/file_pos.c:84:34: error: macro "sseek" passed 3
arguments, but takes just 2
../../../libgfortran/io/file_pos.c:118:38: error: macro "sseek" passed 3
arguments, but takes just 2
../../../libgfortran/io/file_pos.c: In function 'unformatted_backspace':
../../../libgfortran/io/file_pos.c:118: error: 'sseek' undeclared (first use
in this function)
../../../libgfortran/io/file_pos.c:120: warning: passing argument 3 of 'u->s-
>read' makes pointer from integer without a cast
../../../libgfortran/io/file_pos.c:120: note: expected 'size_t *' but argument
is of type 'ssize_t'
../../../libgfortran/io/file_pos.c:168:48: error: macro "sseek" passed 3
arguments, but takes just 2
../../../libgfortran/io/file_pos.c: In function 'st_backspace':
../../../libgfortran/io/file_pos.c:217: error: void value not ignored as it
ought to be
../../../libgfortran/io/file_pos.c:219:35: error: macro "sseek" passed 3
arguments, but takes just 2
../../../libgfortran/io/file_pos.c:219: error: 'sseek' undeclared (first use
in this function)
../../../libgfortran/io/file_pos.c:229: warning: implicit declaration of
function 'sflush'
../../../libgfortran/io/file_pos.c:250: warning: implicit declaration of
function 'unit_truncate'
../../../libgfortran/io/file_pos.c:371:32: error: macro "sseek" passed 3
arguments, but takes just 2
../../../libgfortran/io/file_pos.c: In function 'st_rewind':
../../../libgfortran/io/file_pos.c:371: error: 'sseek' undeclared (first use
in this function)
make[3]: *** [file_pos.lo] Error 1
Something missing?
Daniel