From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25376 invoked by alias); 15 Jun 2011 04:58:45 -0000 Received: (qmail 25350 invoked by uid 22791); 15 Jun 2011 04:58:44 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8,TW_BJ,TW_CX,TW_DC,TW_DP,TW_GX X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Jun 2011 04:58:30 +0000 From: "kamaraju at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/12891] New:=?UTF-8?Q?=20implicit=20declaration=20of=20function=20=E2=80=98=5Fdoprnt=E2=80=99=20in=20libiberty?=/vfprintf.c X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kamaraju at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 15 Jun 2011 04:58:00 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2011-q2/txt/msg00429.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D12891 Summary: implicit declaration of function =E2=80=98_doprnt=E2=80= =99 in libiberty/vfprintf.c Product: gdb Version: 7.2 Status: NEW Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned@sourceware.org ReportedBy: kamaraju@gmail.com when compiling gdb with -Werror option, the compilation stops with the following error. if [ x"" !=3D x ]; then \ i486-linux-gnu-gcc -c -DHAVE_CONFIG_H -g -Werror -I. -I/home/gdb/gdb-7.2/gdb-7.2/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic=20=20 /home/gdb/gdb-7.2/gdb-7.2/libiberty/vfprintf.c -o pic/vfprintf.o; \ else true; fi i486-linux-gnu-gcc -c -DHAVE_CONFIG_H -g -Werror -I. -I/home/gdb/gdb-7.2/gdb-7.2/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic=20 /home/gdb/gdb-7.2/gdb-7.2/libiberty/vfprintf.c -o vfprintf.o /home/gdb/gdb-7.2/gdb-7.2/libiberty/vfprintf.c: In function =E2=80=98vfprin= tf=E2=80=99: /home/gdb/gdb-7.2/gdb-7.2/libiberty/vfprintf.c:14:3: error: implicit declaration of function =E2=80=98_doprnt=E2=80=99 [-Werror=3Dimplicit-funct= ion-declaration] cc1: all warnings being treated as errors make[3]: *** [vfprintf.o] Error 1 make[3]: Leaving directory `/home/gdb/gdb-7.2/gdb-7.2/build/objdir/libibert= y' make[2]: *** [all-libiberty] Error 2 make[2]: Leaving directory `/home/gdb/gdb-7.2/gdb-7.2/build/objdir' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/gdb/gdb-7.2/gdb-7.2/build/objdir' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debian_chroot:sid:kusumanchi:/home/gdb/gdb-7.2# gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1/lto-= wrapper Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Debian 4.6.0-13' --with-bugurl=3Dfile:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=3Dc,c++,fortran,objc,obj-c++,go --prefix=3D/usr --program-suffix=3D-4.6 --enable-shared --enable-multiarch --with-multiarch-defaults=3Di386-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=3D/usr/lib/i386-linux-gnu --without-included-gettext --enable-threads=3Dposix --with-gxx-include-dir=3D/usr/include/c++/4.6 --libdir=3D/usr/lib/i386-linu= x-gnu --enable-nls --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --enable-plugin --enable-objc-gc --enable-targets=3Dall --with-arch-32=3Di586 --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Di486-linux-gnu --host=3Di486-linux-gnu --target=3Di486-linux-gnu Thread model: posix gcc version 4.6.1 20110611 (prerelease) (Debian 4.6.0-13) --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.