lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ