Christian Lamparter a8bae35914 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>
2018-12-20 19:21:42 +01:00
..
2017-01-03 14:24:33 +01:00
2018-08-25 15:40:23 +02:00
2016-12-16 22:39:22 +01:00
2018-06-18 18:21:20 +02:00
2018-07-07 18:33:58 +02:00
2018-03-31 16:27:24 +02:00
2018-08-14 23:54:59 +02:00
2018-05-02 09:18:26 +02:00
2018-09-24 19:22:53 +02:00
2018-12-09 20:39:35 +01:00
2018-12-15 12:30:02 +01:00
2018-04-28 15:28:59 +02:00