Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Laurent GUERBY <laurent@guerby.net>
To: GDB <gdb@sourceware.org>
Subject: GDB 6.8 fatal warning when compiled with GCC trunk 4.4
Date: Sat, 28 Feb 2009 14:18:00 -0000	[thread overview]
Message-ID: <1235830682.11347.492.camel@localhost> (raw)

Hi,

FYI GDB 6.8 fails to build when compiled with GCC trunk (4.4 not
released yet) because of a new warning:

gcc -m64 -c -g -O2   -I. -I.././gdb -I.././gdb/config
-DLOCALEDIR="\"/opt/cfarm/gdb-6.8-64/share/locale\"" -DHAVE_CONFIG_H
-I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd
-I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber
-I.././gdb/../libdecnumber   -DMI_OUT=1 -DTUI=1  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror
eval.c
cc1: warnings being treated as errors
eval.c: In function 'evaluate_subexp_standard':
eval.c:1705: error: 'subscript_array' may be used uninitialized in this
function
make[2]: *** [eval.o] Error 1
make[2]: Leaving directory `/home/guerby/gdb-6.8/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/guerby/gdb-6.8'
make: *** [all] Error 2

Laurent


             reply	other threads:[~2009-02-28 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-28 14:18 Laurent GUERBY [this message]
2009-02-28 16:07 ` Paul Pluzhnikov
2009-02-28 16:29   ` Joel Sherrill
2009-02-28 16:49   ` GDB 6.8 fatal warning when compiled with GCC trunk 4.4 (testsuite in parallel?) Laurent GUERBY
2009-02-28 17:16     ` GDB 6.8 fatal warning when compiled with GCC trunk 4.4 Laurent GUERBY

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=1235830682.11347.492.camel@localhost \
    --to=laurent@guerby.net \
    --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