aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/bzip2
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-12-20 18:07:40 +0100
committerChristian Lamparter <chunkeey@gmail.com>2018-12-20 19:21:42 +0100
commita8bae35914f12383ab60b43e8114bdba7fc355b9 (patch)
treec9e88860b2e925d90fa8178d2f997608f63930da /package/utils/bzip2
parent99c81eab785e8f50963c6c730a183a2f95ef4a54 (diff)
downloadupstream-a8bae35914f12383ab60b43e8114bdba7fc355b9.tar.gz
upstream-a8bae35914f12383ab60b43e8114bdba7fc355b9.tar.bz2
upstream-a8bae35914f12383ab60b43e8114bdba7fc355b9.zip
elfutils: fix gcc 8.0+ multistatement macros warning/error
GCC 8.0+ <https://gcc.gnu.org/gcc-8/changes.html> introduces a new warning about unsafe macros expanding to multiple statements used as a body of a statement such as if, else, while, switch, or for. In combination with -Werror this can cause the compilation to fail: |In file included from xmalloc.c:37: |xmalloc.c: In function 'xmalloc': |system.h:39:2: error: macro expands to multiple statements [-Werror=multistatement-macros] | fflush(stdout); \ | ^~~~~~ |xmalloc.c:52:5: note: in expansion of macro 'error' | error (EXIT_FAILURE, 0, _("memory exhausted")); | ^~~~~ |xmalloc.c:51:3: note: some parts of macro expansion are not guarded by this 'if' clause | if (p == NULL) | ^~ Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'package/utils/bzip2')
0 files changed, 0 insertions, 0 deletions