latest lib/librpcsvc/Makefile commit breaks buildworld

Matteo Riondato matteo at freebsd.org
Tue Feb 5 20:19:46 UTC 2008


On Tue, Feb 05, 2008 at 06:59:59PM +0100, Pietro Cerutti wrote:
> Dear Matteo (and everyone else..)
> 
> your latest commit to lib/librpcsvc's Makefile breaks buildworld on my
> system:
> 
> cc1: warnings being treated as errors
> rex_xdr.c: In function 'xdr_rex_start':
> rex_xdr.c:27: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> rex_xdr.c:36: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> 
> I suggest you revert to WARNS?=1 or ?=0. I see no need for trading
> warnings as errors here.

Done. I set it to 1. The aliasing problem is in a file generated by
rpcgen from include/rpcsvc/rex.x and I really don't know how to fix
it.
-- 
Matteo Riondato
FreeBSD Committer (http://www.FreeBSD.org)
FreeSBIE Developer (http://www.FreeSBIE.org)
GUFI Staff Member (http://www.GUFI.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080205/b4198575/attachment.pgp


More information about the freebsd-current mailing list