From: Maxim Grigoriev <maxim@tensilica.com>
To: gdb@sourceware.org
Subject: Some GDB files won't compile with GCC 4.1, when -Werror is used
Date: Tue, 25 Jul 2006 00:58:00 -0000 [thread overview]
Message-ID: <44C568A4.1040700@hq.tensilica.com> (raw)
Hello everyone,
My codeline is synchronized with the main GDB CVS sources.
Am I the only individual who's unable to compile .../gdb/p-valprint.c
and .../gdb/cp-valprint.c with GCC 4.1 ?
Host is i686-pc-linux-gnu.
>>>>> uname -a
Linux .... 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686
i386 GNU/Linux
>>>>> gcc --version
gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
Copyright (C) 2006 Free Software Foundation, Inc.
...............
Then, an extraction from the logfile :
gcc -c -g -O2 -I. -I/home/maxim/G/BadgerPass/GDB/CVS/src/gdb
-I/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/config
-DLOCALEDIR="\"/home/maxim/W/GDBsubmit/share/locale\"" -DHAVE_CONFIG_H
-I/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/../include/opcode
-I/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/../readline/.. -I../bfd
-I/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/../bfd
-I/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/../include -DMI_OUT=1
-DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat
-Wparentheses -Wpointer-arith -Wformat-nonliteral -Wunused-label
-Wunused-function -Wno-pointer-sign -Wuninitialized -Werror
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c
cc1: warnings being treated as errors
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c: In function
'pascal_object_print_value_field':
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.alloc_failed' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.maybe_empty_object' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.use_extra_arg' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.extra_arg' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.freefun' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.chunkfun' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.alignment_mask' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.temp' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.chunk_limit' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.next_free' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.object_base' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.chunk' may be used uninitialized in this function
/home/maxim/G/BadgerPass/GDB/CVS/src/gdb/p-valprint.c:756: warning:
'tmp_obstack.chunk_size' may be used uninitialized in this function
make[2]: *** [p-valprint.o] Error 1
make[2]: Leaving directory `.../gdb'
make[1]: *** [all-gdb] Error 2
Thanks,
-- Maxim
next reply other threads:[~2006-07-25 0:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-25 0:58 Maxim Grigoriev [this message]
2006-07-25 2:00 ` Daniel Jacobowitz
2006-07-25 6:19 ` Maxim Grigoriev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44C568A4.1040700@hq.tensilica.com \
--to=maxim@tensilica.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox