summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-09-18 07:02:16 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-09-18 07:02:16 +0000
commit27e677c0bbaddb4d59e5a3cb57a82c9ffee5564a (patch)
tree3fafeb29affbd6fbde420990459c28aea27e9cbe /configure
parent94010c90ac62afe5a21725392ec5308d1e11153a (diff)
downloadqemu-27e677c0bbaddb4d59e5a3cb57a82c9ffee5564a.tar.gz
qemu-27e677c0bbaddb4d59e5a3cb57a82c9ffee5564a.tar.bz2
qemu-27e677c0bbaddb4d59e5a3cb57a82c9ffee5564a.zip
Use gcc warning flag -Wnested-externs
If the compiler supports the warning flag -Wnested-externs, use it. Avoid the only warning by moving the declaration of xml_builtin to a more proper place. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 80497aab75..232ba743ef 100755
--- a/configure
+++ b/configure
@@ -140,7 +140,7 @@ LDFLAGS="-g $LDFLAGS"
gcc_flags="-Wold-style-declaration -Wold-style-definition -Wtype-limits"
gcc_flags="-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers $gcc_flags"
-gcc_flags="-Wmissing-include-dirs -Wempty-body $gcc_flags"
+gcc_flags="-Wmissing-include-dirs -Wempty-body -Wnested-externs $gcc_flags"
gcc_flags="-fstack-protector-all $gcc_flags"
cat > $TMPC << EOF
int main(void) { return 0; }