This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiler turns off warnings unexpectedly


On Wed, Dec 31, 2008 at 9:02 PM, Jan Engelhardt <jengelh@medozas.de> wrote:
> Hi,
>
>
> I have here an (attached) testcase which unexpectedly turns off
> warnings. Compiling it using `gcc test.c -c -Wall` (or test.i) gives:
>
> test.c: In function 'pam_sm_authenticate':
> test.c:6: warning: implicit declaration of function 'undef'

This works on the trunk but fails on the 4.3 branch.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]