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

Fixed nvcc compile warnings for default constructor #1305

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

steimich96
Copy link

Fixes unnecessary compile warnings on nvcc.

dependencies/glm/glm/./ext/../detail/.././ext/../detail/type_mat4x2.hpp(36): warning #20012-D: __host__ annotation is ignored on a function("mat") that is explicitly defaulted on its first declaration
    __attribute__((device)) __attribute__((host)) constexpr mat() = default;

This was previously already adressed in #1107. I am not entirely sure if this was just an oversight or if this was intended, but it still leads to warnings.

Also see this stackoverflow post for further discussion.

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

Successfully merging this pull request may close these issues.

1 participant