public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "info at skierpage dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug build/10675] cli-cmds.c:323: error: ignoring return value of ÂgetcwdÂ, declared with attribute warn_unused_result Date: Mon, 21 Sep 2009 10:47:00 -0000 [thread overview] Message-ID: <20090921104718.29664.qmail@sourceware.org> (raw) In-Reply-To: <20090921004905.10675.info@skierpage.com> [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1446 bytes --] ------- Additional Comments From info at skierpage dot com 2009-09-21 10:47 ------- I'm also getting this compiler warning/error in other places: mi/mi-cmd-env.c:81: error: ignoring return value of getcwd, declared with attribute warn_unused_result gdb/main.c: In function captured_main: gdb/main.c:191: error: ignoring return value of getcwd, declared with attribute warn_unused_result gdb/top.c: In function gdb_init: gdb/top.c:1631: error: ignoring return value of getcwd, declared with attribute warn_unused_result gdb/utils.c: In function internal_vproblem: gdb/utils.c:707: error: ignoring return value of write, declared with attribute warn_unused_result gdb/inflow.c: In function new_tty: gdb/inflow.c:548: error: ignoring return value of dup, declared with attribute warn_unused_result gdb/inflow.c:553: error: ignoring return value of dup, declared with attribute warn_unused_result gdb/inflow.c:558: error: ignoring return value of dup, declared with attribute warn_unused_result FWIW, to blow past these compile errors I've surrounded the offending line with something like: char *junk; junk = [offending line] I haven't done anything to enforce such strict compiling, just configure and make. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10675 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next prev parent reply other threads:[~2009-09-21 10:47 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-09-21 0:49 [Bug build/10675] New: cli-cmds.c:323: error: ignoring return value of getcwd, " info at skierpage dot com 2009-09-21 10:47 ` info at skierpage dot com [this message] 2010-02-23 21:03 ` [Bug build/10675] " tromey at redhat dot com
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=20090921104718.29664.qmail@sourceware.org \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@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: 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).