[Fortran-dev] New array descriptor - add "attribute", set "elem_len", "version", "attribute"
Dominique Dhumieres
dominiq@lps.ens.fr
Wed Apr 24 15:41:00 GMT 2013
Dear Tobias,
Your patch fails to bootstrap with:
libtool: compile: /opt/gcc/for_build/./gcc/xgcc -B/opt/gcc/for_build/./gcc/ -B/opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/bin/ -B/opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/lib/ -isystem /opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/include -isystem /opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/sys-include -DHAVE_CONFIG_H -I. -I../../../for_work/libgfortran -iquote../../../for_work/libgfortran/io -I../../../for_work/libgfortran/../gcc -I../../../for_work/libgfortran/../gcc/config -I../../../for_work/libgfortran/../libquadmath -I../.././gcc -I../../../for_work/libgfortran/../libgcc -I../libgcc -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2 -MT single.lo -MD -MP -MF .deps/single.Tpo -c ../../../for_work/libgfortran/caf/single.c -fno-common -DPIC -o .libs/single.o
libtool: compile: /opt/gcc/for_build/./gcc/xgcc -B/opt/gcc/for_build/./gcc/ -B/opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/bin/ -B/opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/lib/ -isystem /opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/include -isystem /opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/sys-include -DHAVE_CONFIG_H -I. -I../../../for_work/libgfortran -iquote../../../for_work/libgfortran/io -I../../../for_work/libgfortran/../gcc -I../../../for_work/libgfortran/../gcc/config -I../../../for_work/libgfortran/../libquadmath -I../.././gcc -I../../../for_work/libgfortran/../libgcc -I../libgcc -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2 -MT fmain.lo -MD -MP -MF .deps/fmain.Tpo -c ../../../for_work/libgfortran/fmain.c -fno-common -DPIC -o .libs/fmain.o
/bin/sh ../../../for_work/libgfortran/mk-kinds-ts29113.sh '/opt/gcc/for_build/./gcc/gfortran -B/opt/gcc/for_build/./gcc/ -B/opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/bin/ -B/opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/lib/ -isystem /opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/include -isystem /opt/gcc/gcc4.9d/x86_64-apple-darwin10.8.0/sys-include -I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring -g -O2' >> ISO_Fortran_binding.h || rm ISO_Fortran_binding.h
In file included from ../../../for_work/libgfortran/caf/single.c:26:0:
../../../for_work/libgfortran/caf/libcaf.h:79:6: warning: no previous prototype for '_gfortran_caf_critical' [-Wmissing-prototypes]
void _gfortran_caf_critical (void) { }
^
../../../for_work/libgfortran/caf/libcaf.h:80:6: warning: no previous prototype for '_gfortran_caf_end_critical' [-Wmissing-prototypes]
void _gfortran_caf_end_critical (void) { }
^
In file included from ../../../for_work/libgfortran/libgfortran.h:323:0,
from ../../../for_work/libgfortran/fmain.c:4:
./ISO_Fortran_binding.h:30:0: error: unterminated #ifndef
#ifndef ISO_FORTRAN_BINDING_H
^
AFAICT the file is missing at least
#ifdef __cplusplus
}
#endif
#endif /* ISO_FORTRAN_BINDING_H */
at the end (?) of the file.
TIA
Dominique
More information about the Fortran
mailing list