Considering the sample code:
int round(int i) { return i;}
Compiled with gcc 4.4.3:
$ gcc -Wall round.c -c
round.c:1: warning: conflicting types for built-in function 'round'

If I add the -fmudflap option, the warning disappears:
$ gcc -Wall round.c -c -fmudflap
$

I guess it should still warn.


-- 
           Summary: -fmudflap prevents 'conflicting types' warning
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: christophe dot lyon at st dot com


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

Reply via email to