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)
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:26 UTC