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: 850d5e330a
Reviewed-by: Laurent Vivier <laurent@vivier.eu >
Signed-off-by: Thomas Huth <thuth@redhat.com >
2019-01-22 06:26:31 +01:00
..
2018-11-12 15:48:00 +01:00
2018-11-12 15:48:00 +01:00
2018-11-12 15:48:00 +01:00
2018-11-12 15:48:00 +01:00
2018-06-04 01:30:44 +02:00
2018-12-26 06:40:02 +11:00
2018-11-12 15:48:00 +01:00
2018-11-12 15:48:00 +01:00
2018-11-12 15:48:00 +01:00
2018-11-12 15:48:00 +01:00
2018-11-12 15:48:00 +01:00
2018-10-29 15:50:31 +01:00
2018-11-12 16:02:10 +01:00
2018-11-12 15:48:00 +01:00
2019-01-09 09:28:14 +11:00
2018-11-12 15:48:00 +01:00
2018-11-12 15:48:00 +01:00
2018-11-12 15:48:00 +01:00
2018-11-15 13:06:40 +00:00
2018-06-11 14:47:45 +02:00
2018-06-04 01:30:44 +02:00
2019-01-11 15:46:55 +01:00
2018-11-12 15:48:00 +01:00
2018-04-30 09:47:55 +02:00
2019-01-11 15:46:55 +01:00
2017-01-22 18:14:10 -08:00
2018-07-05 15:59:41 +01:00
2018-09-25 22:36:47 +02:00
2018-09-25 22:36:47 +02:00
2018-10-30 11:23:32 -07:00
2018-10-19 14:05:10 +02:00
2016-07-19 15:22:33 +03:00
2019-01-11 15:46:56 +01:00
2016-01-29 15:07:22 +00:00
2019-01-11 15:46:56 +01:00
2018-09-25 22:36:47 +02:00
2019-01-11 15:46:56 +01:00
2019-01-22 06:26:31 +01:00
2016-05-27 14:49:51 +03:00
2018-05-03 18:29:15 +02:00
2019-01-11 15:46:56 +01:00
2018-05-25 10:10:55 +02:00
2019-01-11 15:46:56 +01:00
2018-07-03 16:27:15 +02:00
2019-01-11 15:46:55 +01:00
2018-10-19 14:05:10 +02:00
2019-01-11 15:46:55 +01:00
2011-02-09 10:33:54 +02:00
2017-08-01 12:13:07 +01:00
2019-01-11 15:46:56 +01:00
2016-01-29 15:07:22 +00:00
2016-07-12 16:20:46 +02:00
2019-01-11 15:46:56 +01:00