Skip to content

cmake/cxx11.cmake: dropped explicit setting of C++17 for Visual Studio with Qt6#7464

Merged
chrchr-github merged 1 commit intocppcheck-opensource:mainfrom
firewave:qt-vs-17
Apr 14, 2025
Merged

cmake/cxx11.cmake: dropped explicit setting of C++17 for Visual Studio with Qt6#7464
chrchr-github merged 1 commit intocppcheck-opensource:mainfrom
firewave:qt-vs-17

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

@firewave firewave commented Apr 13, 2025

this is not necessary since CMake is setting C++17 for the GUI files (regardless of the compiler)

@firewave
Copy link
Copy Markdown
Collaborator Author

I realized this while researching an issue with clang-tidy apparently using the the wrong C++ standard for the analysis.

Since the build is working now and it was not happening on all runners, I assume this behavior is controlled by files included in CMake and not all runners had the same CMake version at the time.

@chrchr-github chrchr-github merged commit 5c42791 into cppcheck-opensource:main Apr 14, 2025
53 checks passed
@firewave firewave deleted the qt-vs-17 branch April 14, 2025 08:37
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.

2 participants