From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99350] libdrm-2.4.74/xf86drmMode.c:904:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Date: Tue, 10 Jan 2017 19:01:00 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1808907578==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B0DD36E5E9 for ; Tue, 10 Jan 2017 19:01:00 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1808907578== Content-Type: multipart/alternative; boundary="14840748600.eD34B.21060"; charset="UTF-8" --14840748600.eD34B.21060 Date: Tue, 10 Jan 2017 19:01:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99350 Bug ID: 99350 Summary: libdrm-2.4.74/xf86drmMode.c:904:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Product: DRI Version: XOrg git Hardware: Other URL: https://bugs.gentoo.org/show_bug.cgi?id=3D605290 OS: All Status: NEW Severity: normal Priority: medium Component: libdrm Assignee: dri-devel@lists.freedesktop.org Reporter: mthode@mthode.org not much to say other than it fails to work on some stricter QA checks --=20 You are receiving this mail because: You are the assignee for the bug.= --14840748600.eD34B.21060 Date: Tue, 10 Jan 2017 19:01:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 99350
Summary libdrm-2.4.74/xf86drmMode.c:904:15: warning: dereferencing ty= pe-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Product DRI
Version XOrg git
Hardware Other
URL https://bugs.gentoo.org/show_bug.cgi?id=3D605290
OS All
Status NEW
Severity normal
Priority medium
Component libdrm
Assignee dri-devel@lists.freedesktop.org
Reporter mthode@mthode.org

not much to say other than it fails to work on some stricter Q=
A checks


You are receiving this mail because:
  • You are the assignee for the bug.
= --14840748600.eD34B.21060-- --===============1808907578== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1808907578==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99350] libdrm-2.4.74/xf86drmMode.c:904:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Date: Wed, 18 Jan 2017 07:56:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1216277645==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id D744B6E7E1 for ; Wed, 18 Jan 2017 07:56:30 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1216277645== Content-Type: multipart/alternative; boundary="14847261900.FE4f7f56F.28115"; charset="UTF-8" --14847261900.FE4f7f56F.28115 Date: Wed, 18 Jan 2017 07:56:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99350 Thierry Reding changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Thierry Reding --- This should be fixed by the following commit that I just pushed to master: commit ecc2a097294dcc773dbe5e2a989f180bedb89b69 Author: Thierry Reding Date: Mon Apr 13 11:36:59 2015 +0200 xf86drm: Fix type-punned pointer build warning CC libdrm_la-xf86drmMode.lo ../xf86drmMode.c: In function 'drmHandleEvent': ../xf86drmMode.c:854:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] e =3D (struct drm_event *)(&buffer[i]); ^ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=3D99350 Reviewed-by: Emil Velikov Signed-off-by: Thierry Reding --=20 You are receiving this mail because: You are the assignee for the bug.= --14847261900.FE4f7f56F.28115 Date: Wed, 18 Jan 2017 07:56:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Thierry Reding changed bug 99350<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment= # 1 on bug 99350<= /a> from Thierry Reding
This should be fixed by the following commit that I just pushe=
d to master:

commit ecc2a097294dcc773dbe5e2a989f180bedb89b69
Author: Thierry Reding <tredin=
g@nvidia.com>
Date:   Mon Apr 13 11:36:59 2015 +0200

    xf86drm: Fix type-punned pointer build warning

          CC       libdrm_la-xf86drmMode.lo
        ../xf86drmMode.c: In function 'drmHandleEvent':
        ../xf86drmMode.c:854:15: warning: dereferencing type-punned pointer
will break strict-aliasing rules [-Wstrict-aliasing]
           e =3D (struct drm_event *)(&buffer[i]);
                       ^

    Bugzilla: https://bugs.freedesktop.org/show_bug.c=
gi?id=3D99350
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
    Signed-off-by: Thierry Reding <treding@nvidia.com>


You are receiving this mail because:
  • You are the assignee for the bug.
= --14847261900.FE4f7f56F.28115-- --===============1216277645== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1216277645==--