This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] compile: rm -rf -> ftw()+rmdir()+unlink() [Re: [patch] compile: Fix MinGW build]
- From: Steve Ellcey <sellcey at imgtec dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Kai Tietz <ktietz at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>, <brobecker at adacore dot com>, <yao at codesourcery dot com>, <gdb-patches at sourceware dot org>
- Date: Wed, 17 Dec 2014 14:07:14 -0800
- Subject: Re: [patch] compile: rm -rf -> ftw()+rmdir()+unlink() [Re: [patch] compile: Fix MinGW build]
- Authentication-results: sourceware.org; auth=none
- References: <20141217210144 dot GA26674 at host2 dot jankratochvil dot net>
- Reply-to: <sellcey at imgtec dot com>
On Wed, 2014-12-17 at 22:01 +0100, Jan Kratochvil wrote:
> On Wed, 17 Dec 2014 18:29:51 +0100, Steve Ellcey wrote:
> > /scratch/sellcey/repos/nightly2/src/binutils-gdb/gdb/compile/compile.c:175:10: error: ignoring return value of 'system', declared with attribute warn_unused_result [-Werror=unused-result]
> > cc1: all warnings being treated as errors
> > make[1]: *** [compile.o] Error 1
>
> It should get fixed by this patch.
Yes, that patch fixes my build problem.
Steve Ellcey
sellcey@imgtec.com