GNOME Bugzilla – Bug 637001
net-misc/vino-2.32.0 - 12/10/10 QA Notice: Package has poor programming practices which may compile fine but exhibit random runtime failures.
Last modified: 2011-03-04 09:54:15 UTC
Created attachment 176220 [details] build log QA: other │ │QA Notice: Package has poor programming practices which may compile fine but exhibit random runtime failures. │ │auth.c:169:9: warning: dereferencing type-punned pointer will break strict-aliasing│ │rules │ │auth.c:176:9: warning: dereferencing type-punned pointer will break strict-aliasing│ │rules │ │Please do not file a Gentoo bug and instead report the above QA │ │issues directly to the upstream developers of this software. │ │Homepage: http://www.gnome.org/ http://gcc.gnu.org/ml/gcc-help/2006-08/msg00240.html Dereferencing pointer type punned will break strict-aliasing rules A quote: << The most common warning you will see is probably "dereferencing type- punned pointer will break strict-aliasing rules". The place where it warns is in general not wrong -- what gcc tries to tell you is that you will break the aliasing rules when you dereference the pointer later (unless you cast it back to its original type first). This warning should be interpreted as saying that your interfaces are badly designed, and the correct way to avoid the warning is to redesign them in a way where you do not need to cast between conflicting types. (Even if you often can make this warning go away by changing void** to void*...) >> Please read the actual standard too. The rules about pointer type conversions are at 6.3.2.3. The appropriate paragraphs are paragraphs 1 and 7. http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf.
Fixed in commit 11b8c62866af01d569e2182324274a6e8d9dd18f, thanks for reporting.