After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
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.
net-misc/vino-2.32.0 - 12/10/10 QA Notice: Package has poor programming pract...
Status: RESOLVED FIXED
Product: vino
Classification: Applications
Component: Java Client
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: Vino Maintainer(s)
Vino Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-12-11 05:25 UTC by olbrannon
Modified: 2011-03-04 09:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build log (30.29 KB, text/x-log)
2010-12-11 05:25 UTC, olbrannon
Details

Description olbrannon 2010-12-11 05:25:23 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.
Comment 1 David King 2011-03-04 09:54:15 UTC
Fixed in commit 11b8c62866af01d569e2182324274a6e8d9dd18f, thanks for reporting.