commit:     a38aa2108f996c834e8ca2f10fb151a111c782dc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  9 02:12:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov  9 02:25:45 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=a38aa210

install-qa-check.d/90gcc-warnings: add -Wint-conversion, -Wint-to-pointer-cast

Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/install-qa-check.d/90gcc-warnings | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/install-qa-check.d/90gcc-warnings 
b/bin/install-qa-check.d/90gcc-warnings
index cd12558ba..7a859eb88 100644
--- a/bin/install-qa-check.d/90gcc-warnings
+++ b/bin/install-qa-check.d/90gcc-warnings
@@ -54,6 +54,10 @@ gcc_warn_check() {
                        # the address of ... will never be NULL and likes
                        # (uses of function refs & string constants in 
conditionals)
                        'warning: .*\[-Waddress\]'
+                       # warning: assignment/initialization to ... from ... 
makes integer from pointer without cast
+                       'warning: .*\[-Wint-conversion\]'
+                       # warning: cast to ... from integer of different size 
(or smaller size)
+                       'warning: .*\[-Wint-to-pointer-cast\]'
                        # outdated?
                        'warning: .*too few arguments for format'
                        # format ... expects a matching ... argument

Reply via email to