Re: latest lib/librpcsvc/Makefile commit breaks buildworld

From: Matteo Riondato <matteo_at_freebsd.org>
Date: Tue, 5 Feb 2008 21:07:35 +0100
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)

Received on Tue Feb 05 2008 - 19:19:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:26 UTC