aboutsummaryrefslogtreecommitdiffstats
path: root/macosx-setup.sh
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-06-27 19:14:41 +0000
committerGuy Harris <guy@alum.mit.edu>2013-06-27 19:14:41 +0000
commitb7a3865c91a631c26e048fb4f4fb7185a010d7b7 (patch)
tree50629b1b8011d635776a40e2794f0881453bb894 /macosx-setup.sh
parent99013aefa81f2d3e14d3e063574e6dea4045d0b1 (diff)
Actually, that's not a clang bug; my test case had a typo. It's still a
case where clang is complaining about code that's OK, it's just not OK in a way that lets clang determine that it is. svn path=/trunk/; revision=50196
Diffstat (limited to 'macosx-setup.sh')
-rwxr-xr-xmacosx-setup.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/macosx-setup.sh b/macosx-setup.sh
index c130edc2bf..9c445863a2 100755
--- a/macosx-setup.sh
+++ b/macosx-setup.sh
@@ -324,8 +324,13 @@ if [ ! -f glib-$GLIB_VERSION-done ] ; then
# "#define.*MACOSX" in /usr/include/ffi/fficonfig.h, explictly
# define it.
#
- # While we're at it, suppress -Wformat-nonliteral to avoid a clang
- # bug where it issues bogus warnings.
+ # While we're at it, suppress -Wformat-nonliteral to avoid a case
+ # where clang's stricter rules on when not to complain about
+ # non-literal format arguments cause it to complain about code
+ # that's safe but it wasn't told that. See my comment #25 in
+ # GNOME bug 691608:
+ #
+ # https://bugzilla.gnome.org/show_bug.cgi?id=691608#c25
#
# First, determine where the system include files are. (It's not
# necessarily /usr/include.)