[Bug fortran/39971] kinds.h fails at building libgfortran

gustcr at yahoo dot com dot ar gcc-bugzilla@gcc.gnu.org
Fri May 1 00:10:00 GMT 2009



------- Comment #4 from gustcr at yahoo dot com dot ar  2009-05-01 00:10 -------
(In reply to comment #3)

I couldn't find any other gmp or mpfr in the system.
Also tried using the system's ld and as (both version 2.11.2) but the same
error pops up (see below).
Using ps ax I checked that the right versions of ld and as are used while
compiling.

Any other idea on what to try?

Bootstraping only c works ok

---------------
In file included from
/home2/gdb/local/src/gcc-4.4.0/libgfortran/libgfortran.h:246,
                 from /home2/gdb/local/src/gcc-4.4.0/libgfortran/fmain.c:1:
./kinds.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'float'
./kinds.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'double'
./kinds.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'long'
In file included from /home2/gdb/local/src/gcc-4.4.0/libgfortran/fmain.c:1:
/home2/gdb/local/src/gcc-4.4.0/libgfortran/libgfortran.h:332: error: expected
specifier-qualifier-list before 'GFC_COMPLEX_4'


-- 


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



More information about the Gcc-bugs mailing list