libdrm icon indicating copy to clipboard operation
libdrm copied to clipboard

strict-aliasing issue

Open kusma opened this issue 8 years ago • 2 comments
trafficstars

tegra.c: In function 'lookup_bo':
tegra.c:48:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
  if (drmHashLookup(table, key, (void **)&bo))

kusma avatar Jun 26 '17 18:06 kusma

I'm not convinced this is an actual issue, but I filed this to make sure I don't forget ;)

kusma avatar Jun 26 '17 19:06 kusma

That warning occurs for every other drmHashLookup instance, I think it is bogus.

digetx avatar Jun 26 '17 19:06 digetx