-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
� cause C2001 and C1075 errors in VisualStudio 2022 #3598
Comments
There is no newline there, most likely you are using some legacy encoding. Make sure to compile with |
I think this is a little bit wrong, because most |
What encoding do you use? BTW it looks like your comment was truncated. |
I'm using |
yes, no more errors after replaced by 0xFFFD. |
Merged the "fix" but please note that using legacy encodings is not recommended. |
https://github.com/fmtlib/fmt/blob/6c845f57e5db589208ff0c2808238587cafafa82/include/fmt/format.h#L1456C12-L1456C40
logs:
[build] .../fmt/format.h(1456,34): error C2001: newline in constant
[build] .../fmt/format.h(1456,33): fatal error C1075: '{': no matching token found
The text was updated successfully, but these errors were encountered: