diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-06-01 02:18:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-06-01 02:18:23 (GMT) |
commit | 65e657479ef2a17e6a276a38e83c1831a395ada0 (patch) | |
tree | 7bfd5fd91bf25c52079dde97053f34d3bc5e256e | |
parent | e50cbb5ea71106f34ea4d9ab7041ae5f173be042 (diff) | |
download | hdf5-65e657479ef2a17e6a276a38e83c1831a395ada0.zip hdf5-65e657479ef2a17e6a276a38e83c1831a395ada0.tar.gz hdf5-65e657479ef2a17e6a276a38e83c1831a395ada0.tar.bz2 |
[svn-r13826] Description:
Remove the "-Wpadded" flag, it generates too many warnings to be worthwhile
and we aren't too worried about structs that need to be padded.
Tested on:
Mac OS X/32 10.4.9 (amazon)
-rw-r--r-- | config/gnu-flags | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index 11ca63f..30c82be 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -199,7 +199,11 @@ case "$cc_vendor-$cc_version" in CFLAGS="$CFLAGS -Wno-long-long" # Append warning flags from gcc-3* case - DEBUG_CFLAGS="$DEBUG_CFLAGS -Wfloat-equal -Wmissing-format-attribute -Wpadded" + # (don't use -Wpadded flag for normal builds, many of the warnings its + # issuing can't be fixed and they are making it hard to detect other, + # more important warnings) + #DEBUG_CFLAGS="$DEBUG_CFLAGS -Wfloat-equal -Wmissing-format-attribute -Wpadded" + DEBUG_CFLAGS="$DEBUG_CFLAGS -Wfloat-equal -Wmissing-format-attribute" # Append warning flags from gcc-3.2* case DEBUG_CFLAGS="$DEBUG_CFLAGS -Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wmultichar" |