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

Boost Log: "Invalid Arguments, Candidates are..." with boost::log::add_console_log( ... ) #792

Open
tjisana440 opened this issue May 18, 2024 · 0 comments

Comments

@tjisana440
Copy link

Code analysis is showing an error for when I use boost::log::add_file_log and try to format date_time. If I comment out, or suppress("Invalid arguments") for, line 46, the error goes away. In either case, the code compiles and runs without issue, and as designed.

This seems to be similar to this CDT bug Bug 487698 - "Invalid Arguments, Candidates are..." with boost::log::add_console_log(stream, boost::log::keywords::format ).

Screenshots
Screenshot_2024-05-18_10-30-33

Version Information:

  • GCC version: 13.2.1 20240206
  • Linux (openSUSE Tumbleweed)
  • Version: 2024-03 (4.31.0) | Build id: 20240307-1437
  • CDT Version:Version: 11.5.0.202402230238 | Build id: 20240304-1627
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