This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: gnu-nat.c, compile it without -Werror
- From: "Alfred M. Szmidt" <ams at gnu dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 09 Sep 2008 11:31:21 -0400
- Subject: Re: gnu-nat.c, compile it without -Werror
- References: <200809091626.06394.pedro@codesourcery.com>
- Reply-to: ams at gnu dot org
Building gnu-nat.c fails with:
../../src/gdb/gnu-nat.c: In function 'inf_set_traced':
../../src/gdb/gnu-nat.c:884: error: suggest parentheses around assignment used
as truth value
../../src/gdb/gnu-nat.c:884: error: suggest parentheses around assignment used
as truth value
../../src/gdb/gnu-nat.c: In function 'inf_signal':
(... a few more instances of the same ...)
Turns out that warning comes from the definition of HURD_MSGPORT_RPC,
a 20+ lines system macro...
OK?
Fine by me. Thanks for fixing it.