[New-bugs-announce] [issue15127] Supressing warnings with -w "whether gcc supports ParseTuple"
report at bugs.python.org
Thu Jun 21 19:02:57 CEST 2012
New submission from Samuel John <python at samueljohn.de>:
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.
title: Supressing warnings with -w "whether gcc supports ParseTuple"
type: compile error
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce