Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [V2 i-g-t] meson: Turn on few warns
@ 2024-03-26 10:26 Bhanuprakash Modem
  2024-03-26 17:21 ` ✓ CI.xeBAT: success for meson: Turn on few warns (rev2) Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bhanuprakash Modem @ 2024-03-26 10:26 UTC (permalink / raw)
  To: igt-dev; +Cc: Bhanuprakash Modem, Kamil Konieczny, Petri Latvala

dangling-pointer:
    Warn usage of pointers to objects after their lifetime has ended.
int-conversion:
    Warn about incompatible integer to pointer and pointer to
    integer conversions.

V2: Drop unused-variable

Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Petri Latvala <adrinael@adrinael.net>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index cee8a7446..223a09853 100644
--- a/meson.build
+++ b/meson.build
@@ -57,8 +57,10 @@ cc_args = [
 
 	'-Werror=address',
 	'-Werror=array-bounds',
+	'-Werror=dangling-pointer',
 	'-Werror=implicit',
 	'-Werror=init-self',
+	'-Werror=int-conversion',
 	'-Werror=int-to-pointer-cast',
 	'-Werror=main',
 	'-Werror=missing-braces',
-- 
2.43.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-09 14:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-26 10:26 [V2 i-g-t] meson: Turn on few warns Bhanuprakash Modem
2024-03-26 17:21 ` ✓ CI.xeBAT: success for meson: Turn on few warns (rev2) Patchwork
2024-03-26 17:26 ` ✓ Fi.CI.BAT: " Patchwork
2024-03-26 17:48 ` [V2 i-g-t] meson: Turn on few warns Kamil Konieczny
2024-03-27 14:00 ` ✗ Fi.CI.IGT: failure for meson: Turn on few warns (rev2) Patchwork
2024-05-09 14:35 ` [V2 i-g-t] meson: Turn on few warns Kamil Konieczny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox