This is the mail archive of the gcc@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]

Re: Failure building GFortran (Cygwin)


Paul Richard Thomas ha scritto:


Andd 'const' to strsignal.c:408 and the build will go through.



Paul,


thanks for suggestions. Now it builds fine...

But... have you seen the warnings like this:

[...]
/work/build/./prev-gcc/xgcc -B/work/build/./prev-gcc/ -B/usr/local/gfortran/i686-pc-cygwin/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H -I. -I. -I/work/gcc/gcc -I/work/gcc/gcc/. -I/work/gcc/gcc/../include -I/work/gcc/gcc/../libcpp/include -I/work/gcc/gcc/../libdecnumber -I/work/gcc/gcc/../libdecnumber/bid -I../libdecnumber /work/gcc/gcc/ggc-page.c -o ggc-page.o
/work/gcc/gcc/ggc-page.c: In function 'alloc_page':


/work/gcc/gcc/ggc-page.c:802: warning: request for implicit conversion from 'void *' to 'char *' not permitted in C++
^^^^^^^


Why C++, if I have enabled only c,fortran?

They look like those I have flagged some week ago [1] and which show also in the current build:

[...]
libtool: compile: /work/build/./gcc/gfortran -B/work/build/./gcc/ -B/usr/local/gfortran/i686-pc-cygwin/bin/ -B/usr/local/gfortran/i686-pc-cygwin/lib/ -isystem /usr/local/gfortran/i686-pc-cygwin/include -isystem /usr/local/gfortran/i686-pc-cygwin/sys-include -DHAVE_CONFIG_H -I. -I/work/gcc/libgfortran -I. -iquote/work/gcc/libgfortran/io -I/work/gcc/libgfortran/../gcc -I/work/gcc/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring -fallow-leading-underscore -g -O2 -c /work/gcc/libgfortran/generated/_abs_c4.F90 -o _abs_c4.o
f951: warning: command line option "-idirafter" is valid for C/C++/ObjC/ObjC++ but not for Fortran
^^^^^^^^^^^^^^^^^


Cheers,
   Angelo.

---
[1] http://gcc.gnu.org/ml/fortran/2008-06/msg00048.html


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