[Bug 99350] libdrm-2.4.74/xf86drmMode.c:904:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



changed bug 99350
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 1 on bug 99350 from
This should be fixed by the following commit that I just pushed to master:

commit ecc2a097294dcc773dbe5e2a989f180bedb89b69
Author: Thierry Reding <treding@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 = (struct drm_event *)(&buffer[i]);
                       ^

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


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux