public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/42885]  New: -fmudflap prevents 'conflicting types' warning
@ 2010-01-27 17:20 christophe dot lyon at st dot com
  0 siblings, 0 replies; only message in thread
From: christophe dot lyon at st dot com @ 2010-01-27 17:20 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-27 17:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-27 17:20 [Bug c/42885] New: -fmudflap prevents 'conflicting types' warning christophe dot lyon at st dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).