[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master ab36b56 1/2: ; * src/font.h (font_is_ignored): Add prototype
From: |
Eli Zaretskii |
Subject: |
Re: master ab36b56 1/2: ; * src/font.h (font_is_ignored): Add prototype to avoid warnings. |
Date: |
Thu, 14 Nov 2019 16:49:50 +0200 |
> From: Robert Pluim <address@hidden>
> Cc: address@hidden
> Date: Thu, 14 Nov 2019 15:41:52 +0100
>
> Eli> The paranoid warning options used by the developers' build causes GCC
> Eli> to complain about non-static functions that have no prototype in
> Eli> scope.
>
> Oh, I donʼt run configure with --enable-gcc-warnings (I seem to
> remember Paul warning against that).
Neither do I. But --enable-checking turns it on, AFAIR.
> >> (and now we have two prototypes for that function, the other is in
> >> gtkutil.h).
>
> Eli> That one should be removed, because gkutil.c (indirectly) includes
> Eli> font.h, AFAICT.
>
> Yes, which causes lots of warnings in a GTK build. Removed.
Thanks.