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

Don't include std after module declaration #86

Open
n0F4x opened this issue Dec 29, 2024 · 0 comments
Open

Don't include std after module declaration #86

n0F4x opened this issue Dec 29, 2024 · 0 comments

Comments

@n0F4x
Copy link
Contributor

n0F4x commented Dec 29, 2024

I tried compiling my project that uses modules but not the std module (FASTGLTF_USE_STD_MODULE is also turned off), but I get a compilation error (error: 'std::__promote::type' from module 'fastgltf.' is not present in definition of '__promote<_Args...>' provided earlier).
I presume this should be because the std headers are included after the fastgltf module declaration.
If not, this could be a Clang 19 bug. 🤷‍♂️

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

1 participant