Skip to content

strict-aliasing issue #14

Open
Open

Description

@kusma
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))

Activity

  1. kusma commented on Jun 26, 2017

    @kusma
    MemberAuthor

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

  2. digetx commented on Jun 26, 2017

    @digetx
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions