diff options
author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2021-01-29 22:44:21 -0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-30 14:39:00 +0000 |
commit | e02612921a4e95aef3a368e7468f4337c9dcee7d (patch) | |
tree | 7b8feaa11b5787c2b78c362222e0e99b30c865e4 /lib/igt_sysrq.h | |
parent | fdc23507d022b68443121ec2c1a951af27c87240 (diff) |
meson: Turn on -Werror
We can choose which compile warnings to enable, but once they are enabled
treat all warnings as error. This enforces stricter checks against compile
warnings creeping in.
v2: Fix redefinition warning errors from i915/gem_userptr_blits
v3: Fix the even more pedantic clang compilation
v4: Do not alter whitespace in lib/tests/igt_describe!
Note: clang does not build assembler/
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_sysrq.h')
-rw-r--r-- | lib/igt_sysrq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_sysrq.h b/lib/igt_sysrq.h index 422473d2..c941029d 100644 --- a/lib/igt_sysrq.h +++ b/lib/igt_sysrq.h @@ -25,6 +25,6 @@ #ifndef __IGT_SYSRQ_H__ #define __IGT_SYSRQ_H__ -void igt_sysrq_reboot(void) __attribute__((noreturn)); +__noreturn void igt_sysrq_reboot(void); #endif /* __IGT_SYSRQ_H__ */ |