[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib-lib/xalloc-oversized.h:45:0: warning: "xalloc_oversized" redefine
From: |
Jeffrey Walton |
Subject: |
gnulib-lib/xalloc-oversized.h:45:0: warning: "xalloc_oversized" redefined |
Date: |
Sun, 22 Mar 2020 18:47:04 -0400 |
Hi Everyone,
Would someone please clear this warning before the next release. It is
prevalent in some packages, like iconv.
In file included from ../gnulib-lib/malloca.h:26:0,
from ../gnulib-lib/xmalloca.h:21,
from message.c:32:
../gnulib-lib/xalloc-oversized.h:45:0: warning: "xalloc_oversized" redefined
# define xalloc_oversized(n, s) \
In file included from message.c:31:0:
../gnulib-lib/xalloc.h:149:0: note: this is the location of the
previous definition
# define xalloc_oversized(n, s) \
I believe it is safe to undefine a macro that is not defined. It will
not generate another warning.
Thanks.
- gnulib-lib/xalloc-oversized.h:45:0: warning: "xalloc_oversized" redefined,
Jeffrey Walton <=