From owner-freebsd-current@freebsd.org Sat Oct 10 23:18:24 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 56FCE9D2511 for ; Sat, 10 Oct 2015 23:18:24 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (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 2737C928; Sat, 10 Oct 2015 23:18:24 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by igbkq10 with SMTP id kq10so55615665igb.0; Sat, 10 Oct 2015 16:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=cE/z5TQI680lPOa5cYpnyBDk0KERQ+Hy+dEJMVfk6Ks=; b=y/voNDElncjn7DodYVuqv7y1osoRl/4rY6ALkeb7X6pTLyf0Nk2/rPlhxuPSoxsngC X8pee9mU/W0XVreJTpU7gGFgvMZxBXeMRu4UuYcNueb4euUGCM8SmwRbs0BZD+PyYGKT TsBnsWO6JoQd+dcjREGUDngnxEGJKq/Xe9Tfhcwsfq/8UBPsz4D+5vh/CJYmW+xuo+uO 9LIILOk4DCtFMQNuY3WFTGD/kcD90DiMjZuEMS9BJVaOSnyDjMe637E9xO0AT39XV+Dj fxsL2rW+fAA1Ms9s/Db2UYC1qbE8TWb70tMZ8NVOSR/HZpcpQvpjkXDr1pXwCMFnd8s7 9JIg== MIME-Version: 1.0 X-Received: by 10.50.142.1 with SMTP id rs1mr5752843igb.17.1444519103557; Sat, 10 Oct 2015 16:18:23 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.36.41.138 with HTTP; Sat, 10 Oct 2015 16:18:23 -0700 (PDT) Date: Sat, 10 Oct 2015 16:18:23 -0700 X-Google-Sender-Auth: S3wl_whApUHIOST13ZIqUOh-qyA Message-ID: Subject: r287797 breaks build WITHOUT_NIS From: Justin Hibbits To: FreeBSD Current Cc: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 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: Sat, 10 Oct 2015 23:18:24 -0000 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. - Justin