Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed the compiler error of C2664#7

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
007havegone wants to merge2 commits intoandreasfertig:main
base:main
Choose a base branch
Loading
from007havegone:main

Conversation

@007havegone
Copy link

Env Viual studio 17 2022, cmake 3.30.4
After using thecmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_CXX_COMPILER=cl to genetor the build directory and sln file.
Complie will meet this error

error C2664: 'auto std::make_format_args<std::format_context,const std::string,double,const T,const T>(const std::string &,double &,const T &,const T &)': cannot convert argument 2 from 'double' to 'double &

Add the menber function to solve this problem.

@andreasfertig
Copy link
Owner

Hello@007havegone,

Thanks for the fix! I'd like to think a moment about what to do here. While your fix is great and correct, the source code presented in the book and the explanation no longer match.

Andreas

Update the cmake list and add the ignore for build.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@007havegone@andreasfertig

[8]ページ先頭

©2009-2025 Movatter.jp