[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "incompatible implicit declaration" warnings with GCC 4.2.1
From: |
Juanma Barranquero |
Subject: |
Re: "incompatible implicit declaration" warnings with GCC 4.2.1 |
Date: |
Mon, 22 Oct 2007 23:55:29 +0200 |
On 10/22/07, Jason Rumney <address@hidden> wrote:
> stdlib.h needs to be included before whichever header it is that contains
>
> #define abort w32_abort
That's src/s/ms-w32.h, which is included from config.h. Including
<stdlib.h> before config.h produces this new error:
w32fns.c:9105: warning: conflicting types for 'w32_abort'
w32fns.c:496: warning: previous implicit declaration of 'w32_abort' was here
I'd really like to know why this include shuffling is suddenly needed
with GCC 4.2.1...
Juanma