Skip to content

Add missing cmath header - #468

Open
rupprecht wants to merge 1 commit into
BinomialLLC:masterfrom
rupprecht:cmath-header
Open

Add missing cmath header#468
rupprecht wants to merge 1 commit into
BinomialLLC:masterfrom
rupprecht:cmath-header

Conversation

@rupprecht

Copy link
Copy Markdown

When using libc++ after llvm/llvm-project@ada3786, #include <random> does not imply #include <cmath>, so we need to directly import it to avoid breakages, e.g. due to the use of std::round in basisu_transcoder_internal.h or std::fabs in basisu_backend.h.

After llvm/llvm-project@ada3786, `#include <random>` does not imply `#include <cmath>`, so we need to directly import it to avoid breakages, e.g. due to the use of `std::round` in `basisu_transcoder_internal.h` or `std::fabs` in `basisu_backend.h`.
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