From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Petri Latvala <adrinael@adrinael.net>
Subject: [V2 i-g-t] meson: Turn on few warns
Date: Tue, 26 Mar 2024 15:56:12 +0530 [thread overview]
Message-ID: <20240326102612.746321-1-bhanuprakash.modem@intel.com> (raw)
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
next reply other threads:[~2024-03-26 10:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-26 10:26 Bhanuprakash Modem [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240326102612.746321-1-bhanuprakash.modem@intel.com \
--to=bhanuprakash.modem@intel.com \
--cc=adrinael@adrinael.net \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox