For instance:

../../gdb/solib-svr4.c: In function ‘exec_pie_relocate’:
../../gdb/solib-svr4.c:900: warning: passing argument 2 of
‘build_section_table’ from incompatible pointer type
../../gdb/solib-svr4.c:900: warning: passing argument 3 of
‘build_section_table’ from incompatible pointer type

It would be awfully useful if the GCC would say which two types were involved
in each case!


-- 
           Summary: "incompatible pointer type" warnings don't mention the
                    actual types
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: naesten at gmail dot com


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

Reply via email to