public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: robert.bu@gmail.com To: gdb-gnats@sources.redhat.com Subject: build/2419: build error from compiler warning for -Werror Date: Thu, 28 Feb 2008 01:58:00 -0000 [thread overview] Message-ID: <20080228015358.15210.qmail@sourceware.org> (raw) >Number: 2419 >Category: build >Synopsis: build error from compiler warning for -Werror >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: change-request >Submitter-Id: net >Arrival-Date: Thu Feb 28 01:58:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: robert.bu@gmail.com >Release: snapshot of 20080226, or most updated CVS >Organization: >Environment: Linux, GCC-3.2.3 >Description: funaddr in the function of find_function_addr may be initialized to satisfy the compiler. Below is the error message: gcc -c -g -O2 -I. -I../../gdb/gdb -I../../gdb/gdb/config -DLOCALEDIR="\"/home/ gdb/gdb/../include/opcode -I../../gdb/gdb/../readline/.. -I../bfd -I../../gdb/gd ./gdb/gdb/../libdecnumber -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statem tch -Wno-char-subscripts -Werror ../../gdb/gdb/infcall.c cc1: warnings being treated as errors ../../gdb/gdb/infcall.c: In function `find_function_addr': ../../gdb/gdb/infcall.c:197: warning: initialization makes integer from pointer make[2]: *** [infcall.o] Error 1 make[2]: Leaving directory `/home/robert_bu/src/temp/build_gdb/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/robert_bu/src/temp/build_gdb' make: *** [all] Error 2 >How-To-Repeat: Just build the package >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2008-02-28 1:58 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-02-28 1:58 robert.bu [this message] 2008-02-28 2:44 drow 2008-02-28 3:08 Robert Bu
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=20080228015358.15210.qmail@sourceware.org \ --to=robert.bu@gmail.com \ --cc=gdb-gnats@sources.redhat.com \ /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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).