recent commits

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Jan 13 22:35:21 CET 2004


Olivier Fourdan wrote:
> Hi Benny,
> 
> I saw this in the commit log:
> 
> 
>>Modified Files:
>>        events.c hints.c misc.c 
>>Log Message:
>>Various fixes to get the beast compiled with gcc 3.3.x and -Wall
>>-Werror.
>>We have to take special care about new ISO C aliasing rules.
> 
> 
> Especially you replace "unsigned long*" by "unsigned char*"
> 
> Last time Jasper changed that, it turned to be a total mess, and we had
> a lot of nasty bugs that took us days to work out.

Its IMHO safe now, Jasper bug was related to a different issue. Using memcpy 
instead of wild pointer arithmetics is one of the safe solutions.

> FYI, I don't care about gcc 3.3 pedantic warnings...

Important notes: see attachment.

> Cheers,

regards,
Benedikt

BTW: I'm currently using the modified xfwm4 w/o any problems. What broke for 
you exactly?

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/
os-network:                                 http://www.os-network.de/

OpenPGP Key: http://www.home.unix-ag.org/bmeurer/#gpg

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-ISO-Aliasing
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20040113/4eb52a88/attachment.ksh>


More information about the Xfce4-dev mailing list