This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Warning bug with -fPIC? (was Re: Some testsuite cleanups (mostly for -fPIC))
- From: Kean Johnston <jkj at sco dot com>
- To: Mike Stump <mrs at apple dot com>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Mon, 28 Nov 2005 19:57:45 -0800
- Subject: Re: Warning bug with -fPIC? (was Re: Some testsuite cleanups (mostly for -fPIC))
- References: <438A142D.9080407@sco.com> <20051127213516.GB15822@redhat.com> <438B4F89.8070909@sco.com> <627C2594-7F42-44AB-9DCB-CA38706CAA2B@apple.com>
- Reply-to: jkj at sco dot com
Is this indeed a bug?
Sounds like a bug.
I just found something in the bug database relating to this:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19232
According to Andrew (#3) it doesnt eject a warning becuase
the function isn't inlined. I'm not sure thats a valid
reason for not ejecting the warning. Just becuase the function
can be over-ridden in another TU doesn't mean that the one
that is currently declared, and called with sign differnces,
shouldn't eject a warning.
Kean