bug-gnulib
[Top][All Lists]
Advanced

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

Re: warning: "_GL_ATTRIBUTE_DEALLOC_FREE" redefined


From: Bruno Haible
Subject: Re: warning: "_GL_ATTRIBUTE_DEALLOC_FREE" redefined
Date: Thu, 13 Jan 2022 12:12:17 +0100

Hi Werner,

>   CC       lib/libttfautohint_la-tafeature.lo
> In file included from lib/ta.h:19:0,
>                  from lib/tashaper.h:31,
>                  from lib/tafeature.c:15:
> ./config.h:842:0: warning: "_GL_ATTRIBUTE_DEALLOC_FREE" redefined
>  #define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1)
>  
> In file included from 
> /usr/local/include/freetype2/freetype/config/ftstdlib.h:88:0,
>                  from 
> /usr/local/include/freetype2/freetype/config/ftconfig.h:41,
>                  from /usr/local/include/freetype2/freetype/freetype.h:24,
>                  from lib/tashaper.h:25,
>                  from lib/tafeature.c:15:
> ./gnulib/src/string.h:630:0: note: this is the location of the previous 
> definition
>  #  define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (rpl_free, 1)
> ```
> 
> How can I make them disappear?

I believe they should go away if, as written in [1], every compilation unit
starts with a '#include <config.h>'.

Bruno

[1] https://www.gnu.org/software/gnulib/manual/html_node/Source-changes.html






reply via email to

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