New submission from Samuel John <[email protected]>:
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.
----------
components: Build
messages: 163349
nosy: samueljohn
priority: normal
severity: normal
status: open
title: Supressing warnings with -w "whether gcc supports ParseTuple"
type: compile error
versions: Python 3.2
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15127>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com