Issue 15127: Supressing warnings with -w "whether gcc supports ParseTuple" (original) (raw)
In configrue.in, Python checks if the compiler supports attribute((format(PyArg_ParseTuple, 2, 3))) and sets the CFLAGS to "CFLAGS -Werror" to decide this test.
When you build Python with "CFLAGS=-w" (homebrew's default), configure reports
whether gcc supports ParseTuple ... yes
which is not supported for clang (I was told).
I know it's hard to remove a certain flag from the CFLAGS, but perhaps there should be better documentation about this issue.