[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: |
Robert Pluim |
Subject: |
Re: master ab36b56 1/2: ; * src/font.h (font_is_ignored): Add prototype to avoid warnings. |
Date: |
Thu, 14 Nov 2019 15:41:52 +0100 |
>>>>> On Thu, 14 Nov 2019 16:24:38 +0200, Eli Zaretskii <address@hidden> said:
>> Hmm, with which compiler?
Eli> GCC 7.3.0.
>> The definition of that function is just before its first use
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).
>> (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.
Robert