Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strict-aliasing issue #14

Open
kusma opened this issue Jun 26, 2017 · 2 comments
Open

strict-aliasing issue #14

kusma opened this issue Jun 26, 2017 · 2 comments

Comments

@kusma
Copy link
Member

kusma commented Jun 26, 2017

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
Copy link
Member Author

kusma commented Jun 26, 2017

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

@digetx
Copy link
Member

digetx commented Jun 26, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants