public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/12891] New: implicit declaration of function ‘_doprnt’ in libiberty/vfprintf.c
@ 2011-06-15  4:58 kamaraju at gmail dot com
  2011-06-15 21:01 ` [Bug gdb/12891] " tromey at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kamaraju at gmail dot com @ 2011-06-15  4:58 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12891

           Summary: implicit declaration of function ‘_doprnt’ 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"" != 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  
/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 
/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 ‘vfprintf’:
/home/gdb/gdb-7.2/gdb-7.2/libiberty/vfprintf.c:14:3: error: implicit
declaration of function ‘_doprnt’ [-Werror=implicit-function-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/libiberty'
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=gcc
COLLECT_LTO_WRAPPER=/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='Debian 4.6.0-13'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-multiarch
--with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib/i386-linux-gnu
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc
--enable-targets=all --with-arch-32=i586 --with-tune=generic
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.6.1 20110611 (prerelease) (Debian 4.6.0-13)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-08  1:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15  4:58 [Bug gdb/12891] New: implicit declaration of function ‘_doprnt’ in libiberty/vfprintf.c kamaraju at gmail dot com
2011-06-15 21:01 ` [Bug gdb/12891] " tromey at redhat dot com
2011-06-15 22:56 ` kamaraju at gmail dot com
2011-06-16 13:33 ` tromey at redhat dot com
2022-04-08  1:45 ` [Bug build/12891] " tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).