Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2015 00:44:49 -0700
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        Justin Hibbits <jrh29@alumni.cwru.edu>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, Craig Rodrigues <rodrigc@freebsd.org>
Subject:   Re: r287797 breaks build WITHOUT_NIS
Message-ID:  <0B5D0762-F5A6-4025-A16F-E7A96DF72BF4@gmail.com>
In-Reply-To: <CAHSQbTB2Sbv97XvrAzc6Dxd%2B2y45Kv8EkXZe%2Bz1U11PZ8H9dOQ@mail.gmail.com>
References:  <CAHSQbTB2Sbv97XvrAzc6Dxd%2B2y45Kv8EkXZe%2Bz1U11PZ8H9dOQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Oct 10, 2015, at 16:18, Justin Hibbits <jrh29@alumni.cwru.edu> =
wrote:
>=20
> When building WITHOUT_NIS, the following errors show up (base gcc, for
> building powerpc):
>=20
> 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
>=20
> Converting the local variable in the macros back to int fixes it.

Fixed in r289925.
Thanks!=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B5D0762-F5A6-4025-A16F-E7A96DF72BF4>