Summary: | libdrm-2.4.74/xf86drmMode.c:904:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | ||
---|---|---|---|
Product: | DRI | Reporter: | Matthew Thode <mthode> |
Component: | libdrm | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | XOrg git | ||
Hardware: | Other | ||
OS: | All | ||
URL: | https://bugs.gentoo.org/show_bug.cgi?id=605290 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Matthew Thode
2017-01-10 19:01:00 UTC
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> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.