Merge pull request #3665 from b4n/less-warnings
commit88a0bfcb3618b2533a5e7e253c7ef7af3c0b0590
authorColomban Wendling <ban@herbesfolles.org>
Thu, 16 Nov 2023 12:50:01 +0000 (16 13:50 +0100)
committerColomban Wendling <ban@herbesfolles.org>
Thu, 16 Nov 2023 12:50:01 +0000 (16 13:50 +0100)
tree86d83a1e8346b48fb95624d5ca398cb208b03512
parentb02ee9a95a48690836f08ba10ccc9db89ee89c10
parentc42004402ecefea7d809d4a51f7b427937ff4270
Merge pull request #3665 from b4n/less-warnings

With this, you should be able to build src/ and plugins/ warning-free
with:

    CFLAGS="-Wall -Wextra -g -Og -Wno-unused-parameter
    -Wunreachable-code -Wformat=2 -Wundef -Wshadow -Wpointer-arith
    -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
    -Wmissing-declarations -Wnested-externs
    -Werror-implicit-function-declaration"

(or just `-Wall -Wextra -g -Og -Wno-unused-parameter -Wwrite-strings`
to start with) but for some Lexilla prototype and one deprecated
Lexilla call.