[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGmj6qs6tPvVMsxSLPgkNkmfUYSuqvTR+sqpuR+k5cEoUo9hww@mail.gmail.com>
Date: Wed, 15 Aug 2018 20:33:36 +0200
From: Martin Schroeder <mkschreder.uk@...glemail.com>
To: linux-kernel@...r.kernel.org
Subject: A far fetched goal to clean up code quality
I propose using following set of GCC flags to enforce code quality in
the long run.
-Wall -Wextra -Werror\
-std=gnu11\
-pedantic \
-Wchar-subscripts\
-Wformat\
-Wformat-nonliteral\
-Wformat-security\
-Wmissing-braces\
-Wparentheses\
-Wsequence-point\
-Wswitch\
-Wtrigraphs\
-Wno-unused-function\
-Wunused-label\
-Wno-unused-parameter\
-Wunused-variable\
-Wunused-value\
-Wuninitialized\
-Wdiv-by-zero\
-Wfloat-equal\
-Wdouble-promotion\
-fsingle-precision-constant\
-Wshadow\
-Wpointer-arith\
-Wwrite-strings\
-Wconversion\
-Wredundant-decls\
-Wunreachable-code\
-Winline\
-Wenum-compare \
-Wlong-long\
-Wchar-subscripts
Powered by blists - more mailing lists