From: Blue Swirl Date: Sat, 18 Sep 2010 05:53:15 +0000 (+0000) Subject: Use gcc warning flag -Wtype-limits X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~7162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e15cb5f6d87d0039b4c1590d1577ae14db17b50;p=sdk%2Femulator%2Fqemu.git Use gcc warning flag -Wtype-limits If the compiler supports the warning flag -Wtype-limits, use it. Signed-off-by: Blue Swirl --- diff --git a/configure b/configure index 4061cb7..29d3548 100755 --- a/configure +++ b/configure @@ -138,7 +138,7 @@ QEMU_CFLAGS="-D_FORTIFY_SOURCE=2 $QEMU_CFLAGS" QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS" LDFLAGS="-g $LDFLAGS" -gcc_flags="-Wold-style-declaration -Wold-style-definition -fstack-protector-all" +gcc_flags="-Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all" cat > $TMPC << EOF int main(void) { return 0; } EOF