http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47467
Summary: [4.6 Regression] hwint.h:239:3: error: implicit declaration of function 'abs' Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org Host: i686-apple-darwin9 Target: i686-apple-darwin9 Build: i686-apple-darwin9 /Users/dave/gnu/gcc/objdir/./prev-gcc/xgcc -B/Users/dave/gnu/gcc/objdir/./prev-g cc/ -B/opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/bin/ -B/opt/gnu/gcc/gcc-4.6.0/i6 86-apple-darwin9/bin/ -B/opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/lib/ -isystem /opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/include -isystem /opt/gnu/gcc/gcc-4.6. 0/i686-apple-darwin9/sys-include -c -g -O2 -mdynamic-no-pic -gtoggle -DIN_G CC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototyp es -Wmissing-format-attribute -Wno-long-long -Wno-variadic-macros -Wno-overleng th-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFI G_H -I.. -I. -Iada -I../../gcc/gcc -I../../gcc/gcc/ada -I../../gcc/gcc/../includ e -I../../gcc/gcc/../libcpp/include -I/opt/gnu/gcc/gcc-4.6.0/include -I../../gc c/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber . ./../gcc/gcc/ada/gcc-interface/targtyps.c -o ada/targtyps.o In file included from ../../gcc/gcc/system.h:254:0, from ../../gcc/gcc/ada/targext.c:36: ../../gcc/gcc/hwint.h: In function 'gcd': ../../gcc/gcc/hwint.h:239:3: error: implicit declaration of function 'abs' [-Wer ror=implicit-function-declaration] cc1: all warnings being treated as errors