This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch] Fix binutils-gdb build with GCC 4.9 (was: Build problems with GIT version: ../bfd/bfd.h:304:75: error: right-hand operand of comma expression has no effect)
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: binutils at sourceware dot org
- Cc: gdb-patches at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Wed, 29 Jan 2014 15:34:48 +0100
- Subject: Re: [Patch] Fix binutils-gdb build with GCC 4.9 (was: Build problems with GIT version: ../bfd/bfd.h:304:75: error: right-hand operand of comma expression has no effect)
- Authentication-results: sourceware.org; auth=none
- References: <20140128082513 dot GA25073 at physik dot fu-berlin dot de> <20140129125618 dot GA28587 at physik dot fu-berlin dot de>
Dear gdb-patches readers,
please ignore my patch. It has been fixed differently by
Nick (thanks!):
https://sourceware.org/ml/binutils/2014-01/msg00334.html
[Already committed and, unsurprisingly, it works like a charm.]
(I thought I mention it here as his email only went to
binutils.)
On Wed, Jan 29, 2014 at 01:56:19PM +0100, Tobias Burnus wrote:
> GCC 4.9 (current GIT version) seems to warn now about
> bfd_set_section_userdata (stdoutput, seg, seginfo);
> where the macro expands to "..., TRUE" (-Wunused-value)
Tobias