[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.
fix-gcc-warnings.patch
Description: Text Data
- compile warnings when including avltree-list and gcc-warnings is enabled, Dylan Cali, 2014/09/05
- Re: compile warnings when including avltree-list and gcc-warnings is enabled, Paul Eggert, 2014/09/05
- Re: compile warnings when including avltree-list and gcc-warnings is enabled, Dylan Cali, 2014/09/05
- Re: compile warnings when including avltree-list and gcc-warnings is enabled, Dylan Cali, 2014/09/06
- Re: compile warnings when including avltree-list and gcc-warnings is enabled, Paul Eggert, 2014/09/06
- Re: compile warnings when including avltree-list and gcc-warnings is enabled,
Dylan Cali <=
- Re: compile warnings when including avltree-list and gcc-warnings is enabled, Eric Blake, 2014/09/08
- Re: compile warnings when including avltree-list and gcc-warnings is enabled, Dylan Cali, 2014/09/08
- Re: compile warnings when including avltree-list and gcc-warnings is enabled, Dylan Cali, 2014/09/08
- Re: compile warnings when including avltree-list and gcc-warnings is enabled, Pádraig Brady, 2014/09/16