Thomas Huth 798b858130 linux-user: Fix compilation with clang 3.4
Clang version 3.4.2 does not know the -Wpragmas option yet and bails
out with an error when we try to disable it in linux-user/qemu.h.
Fortunately, clang has a __has_warning() macro which allows us to add
an explicit check for the option that we want to ignore. With that we
can check for the availability of "-Waddress-of-packed-member" properly
and do not need the "-Wpragmas" at all here.

Fixes: 850d5e330a9c68cc998cecc02caf8a3c8d1ee8a3
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2019-01-22 06:26:31 +01:00
..
2018-10-18 19:46:36 -07:00
2017-09-22 14:11:25 +02:00
2017-07-24 12:42:55 +01:00
2016-06-07 18:19:23 +03:00
2017-10-16 20:57:13 +03:00
2016-10-26 08:29:01 -07:00
2018-08-23 18:46:25 +02:00
2016-06-16 18:39:03 +02:00
2018-09-26 08:55:54 -07:00
2018-08-23 18:46:25 +02:00
2019-01-09 22:09:31 -02:00
2018-01-16 14:54:50 +01:00
2018-08-23 18:46:25 +02:00
2017-06-16 07:55:00 +08:00
2016-02-23 12:43:05 +00:00
2018-10-19 19:01:07 +01:00
2018-08-24 20:26:37 +02:00
2016-09-15 15:32:22 +03:00
2017-12-20 22:01:24 +08:00
2018-12-20 10:29:08 +01:00
2017-01-24 23:26:52 +03:00