configure: document that -Wwrite-strings is missing
commit413457a0aa7b5d585c78aefcd32d3b594e5059b7
authorStefan Becker <chemobejk@gmail.com>
Fri, 11 Oct 2019 16:12:26 +0000 (11 19:12 +0300)
committerStefan Becker <chemobejk@gmail.com>
Fri, 11 Oct 2019 16:12:26 +0000 (11 19:12 +0300)
treea3283b0aa214f63c3994e69cb111c5b0e22e8c2e
parenta516a89fc9f49cc56f5d395bdddbee08a447167d
configure: document that -Wwrite-strings is missing

Quote from GCC manual:

   "-Wwrite-strings

    When compiling C, give string constants the type const
    char[length] so that copying the address of one into a non-const
    char * pointer produces a warning. These warnings help you find at
    compile time code that can try to write into a string constant, but
    only if you have been very careful about using const in declarations
    and prototypes. Otherwise, it is just a nuisance.

    This is why we did not make -Wall request these warnings."

While this statement may be true for old code, new code/APIs should
compile with the flag enabled.

At least now this ommission is documented and it is easy for developers
to activate it to check their code.
configure.ac