bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile warnings when including avltree-list and gcc-warnings is ena


From: Dylan Cali
Subject: Re: compile warnings when including avltree-list and gcc-warnings is enabled
Date: Sat, 6 Sep 2014 20:42:25 -0500

On Sat, Sep 6, 2014 at 7:30 PM, Paul Eggert <address@hidden> wrote:
> On second thought this doesn't look wise, as the function is not expected to
> be exported to ordinary clients, only to the test cases.  So let's leave the
> .h file alone, and put a declaration in the .c file instead.
>
> I suppose a pragma is the way to silence the unwanted diagnostics, yes.

Updated patch attached.  I moved the declaration to the .c file and
added the warning suppression for just that function.  Everything
builds without issue now.

Attachment: fix-gcc-warnings.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]