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

missing '#include <cstddef>' in format.h #2047

Closed
moiwi opened this issue Dec 3, 2020 · 1 comment
Closed

missing '#include <cstddef>' in format.h #2047

moiwi opened this issue Dec 3, 2020 · 1 comment

Comments

@moiwi
Copy link
Contributor

moiwi commented Dec 3, 2020

I get

fmt/format.h:3578:20: error: 'byte' is not a member of 'std'
 FMT_FORMAT_AS(std::byte, unsigned);

when compiling the current format.h.
I think

#include <cstddef>

is missing in format.h.

vitaut added a commit that referenced this issue Dec 3, 2020
@vitaut
Copy link
Contributor

vitaut commented Dec 3, 2020

Good catch, thanks. Fixed in 1f4a76d.

@vitaut vitaut closed this as completed Dec 3, 2020
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