From owner-freebsd-current@freebsd.org Sun Oct 25 22:33:18 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3306A17440 for ; Sun, 25 Oct 2015 22:33:17 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7F63184D; Sun, 25 Oct 2015 22:33:17 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by ioll68 with SMTP id l68so170465590iol.3; Sun, 25 Oct 2015 15:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=OR9VmMycNZJL7tq0QXqWf1WAG6Cjw2d6qyTiidrFxAo=; b=kZWrtrjA+H4zASvPN1JPenETkz+Y3pwyJI8r6aHzCXGZ7j1tkumW25MCJD/TQzw5HY E8Id/VypC7YfAkZ1QGy9SwfHg+TIclUZDVbTjQM3T/pybjeXq/1WZ4+3N17B6Ih3Np86 cJ9o5iX72EZtfi1f9p9q/OhU/TYnDV1hC3VZBRUBLptbT4FXJF8vBIIv/xNqGdKxgMKA lcJsGa+mUKk+MvwgNrP1ien5bR3t+nzCU/lcPlH/h7AhCF0K03nF6v9hg9Xq23pVp0CE eUakJ/+2wNgO5/d6ZIYxjkAKR9G+hnoi6beLG4AcCF6EONvS4cchL4p0ilh9JFFrdjjI 16GQ== MIME-Version: 1.0 X-Received: by 10.107.137.202 with SMTP id t71mr38560375ioi.119.1445812397057; Sun, 25 Oct 2015 15:33:17 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.36.41.138 with HTTP; Sun, 25 Oct 2015 15:33:16 -0700 (PDT) Received: by 10.36.41.138 with HTTP; Sun, 25 Oct 2015 15:33:16 -0700 (PDT) In-Reply-To: <0B5D0762-F5A6-4025-A16F-E7A96DF72BF4@gmail.com> References: <0B5D0762-F5A6-4025-A16F-E7A96DF72BF4@gmail.com> Date: Sun, 25 Oct 2015 17:33:16 -0500 X-Google-Sender-Auth: jSalk8Mhd0GIlIZs-RxoTvAymJc Message-ID: Subject: Re: r287797 breaks build WITHOUT_NIS From: Justin Hibbits To: Garrett Cooper Cc: Craig Rodrigues , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2015 22:33:18 -0000 Thanks! On Oct 25, 2015 02:44, "NGie Cooper" wrote: > > > On Oct 10, 2015, at 16:18, Justin Hibbits wrote: > > > > When building WITHOUT_NIS, the following errors show up (base gcc, for > > building powerpc): > > > > cc1: warnings being treated as errors > > /home/chmeee/freebsd/head/lib/libc/gen/getgrent.c: In function > > 'compat_setgrent': > > /home/chmeee/freebsd/head/lib/libc/gen/getgrent.c:1258: warning: > > comparison is always false due to limited range of data type > > /home/chmeee/freebsd/head/lib/libc/gen/getgrent.c:1267: warning: > > comparison is always false due to limited range of data type > > /home/chmeee/freebsd/head/lib/libc/gen/getgrent.c: In function > 'compat_group': > > /home/chmeee/freebsd/head/lib/libc/gen/getgrent.c:1355: warning: > > comparison is always false due to limited range of data type > > /home/chmeee/freebsd/head/lib/libc/gen/getgrent.c:1378: warning: > > comparison is always false due to limited range of data type > > > > Converting the local variable in the macros back to int fixes it. > > Fixed in r289925. > Thanks!