I get the following warnings when building libgfortran.
I think they should be fixed and libgfortran should be build with -Werror.

generated/all_l1.c:142: warning: format '%d' expects type 'int', but argument 2
has type 'index_type'
generated/all_l2.c:142: warning: format '%d' expects type 'int', but argument 2
has type 'index_type'
generated/all_l4.c:142: warning: format '%d' expects type 'int', but argument 2
has type 'index_type'
generated/all_l8.c:142: warning: format '%d' expects type 'int', but argument 2
has type 'index_type'
generated/all_l16.c:142: warning: format '%d' expects type 'int', but argument
2 has type 'index_type'
generated/any_l1.c:142: warning: format '%d' expects type 'int', but argument 2
has type 'index_type'
generated/any_l2.c:142: warning: format '%d' expects type 'int', but argument 2
has type 'index_type'
generated/any_l4.c:142: warning: format '%d' expects type 'int', but argument 2
has type 'index_type'
generated/any_l8.c:142: warning: format '%d' expects type 'int', but argument 2
has type 'index_type'
generated/any_l16.c:142: warning: format '%d' expects type 'int', but argument
2 has type 'index_type'
generated/count_1_l.c:142: warning: format '%d' expects type 'int', but
argument 2 has type 'index_type'
generated/count_2_l.c:142: warning: format '%d' expects type 'int', but
argument 2 has type 'index_type'
generated/count_4_l.c:142: warning: format '%d' expects type 'int', but
argument 2 has type 'index_type'
generated/count_8_l.c:142: warning: format '%d' expects type 'int', but
argument 2 has type 'index_type'
generated/count_16_l.c:142: warning: format '%d' expects type 'int', but
argument 2 has type 'index_type'


-- 
           Summary: libgfortran: "warning: format '%d' expects type 'int',
                    but"
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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

Reply via email to