On Sun, Feb 21, 2010 at 08:42, Pavel Heimlich <tropikhajma at gmail.com> wrote: > Hi, > the recent crashes in kdeinit4 were resolved (send flowers to ade who found > out the cause first). > > They were caused by the use of '-xalias_level=compatible' flag in qt, which > we did not use globally before. As a quick counter-measure I've removed the > flag from our includes. > > After reading about it in the Studio User's Guide I think it's quite a > dangerous flag to use on a code that is not under our control and I am not > sure if the performance benefits would outweigh increased risk of weird > crashes.
Do you understand what that flag does ? A bunch of dramatic statements with no basis in fact, which do not explain why pointer aliasing was causing the software to crash, and justify the removal of the flag with "ohhh, it's really really dangerous!". The fact that removing the flag has stopped the crashes does not fix the underlying problem. It only hides the most visible symptom of the problem. Also, anyone can claim "ohhhh, it's really really dangerous" about any other compiler flag. --Stefan -- Stefan Teleman KDE e.V. stefan.teleman at gmail.com
