Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 4.3.1 released



Bart Schaefer wrote:
> New PC at home, so new OS (CentOS 4.2 =~ RedHat EL4u2) and new compiler
> and consequently new warning messages (new to me, at least).  Appended
> below.  However, the "./configure && make && make test" all otherwise
> went without a hitch, and it seems to run just fine.
> 
> exec.c: In function `addvars':
> exec.c:1695: warning: dereferencing type-punned pointer will break strict-ali
> asing rules
[etc.]

We've been getting these from gcc 3+ for a while.  I think Wayne
suggested some casts to void * would be enough to remove them.  However, I
for one didn't really understand the implications enough.  It would be
good if anyone could put there hand on their heart and say that was
the right way to go (or if not, what was).

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page still at http://www.pwstephenson.fsnet.co.uk/



Messages sorted by: Reverse Date, Date, Thread, Author