From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26037 invoked by alias); 9 Sep 2008 15:33:44 -0000 Received: (qmail 26029 invoked by uid 22791); 9 Sep 2008 15:33:44 -0000 X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Sep 2008 15:33:10 +0000 Received: from ams by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Kd5BZ-0000xj-Fs; Tue, 09 Sep 2008 11:31:21 -0400 To: Pedro Alves CC: gdb-patches@sourceware.org In-reply-to: <200809091626.06394.pedro@codesourcery.com> (message from Pedro Alves on Tue, 9 Sep 2008 16:26:06 +0100) Subject: Re: gnu-nat.c, compile it without -Werror Reply-to: ams@gnu.org References: <200809091626.06394.pedro@codesourcery.com> Message-Id: From: "Alfred M. Szmidt" Date: Tue, 09 Sep 2008 15:33:00 -0000 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00185.txt.bz2 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.