RESOLVED FIXED 284253
[CMake] Separate C files in Visual Studio
https://bugs.webkit.org/show_bug.cgi?id=284253
Summary [CMake] Separate C files in Visual Studio
Fujii Hironori
Reported 2024-12-08 17:12:48 PST
Windows port non-Ninja builds with the following error. > perl .\Tools\Scripts\build-webkit --debug --no-ninja > Generating ../../JavaScriptCore/DerivedSources/inspector/InspectorBackendDispatchers.cpp, ../../JavaScriptCore/DerivedSources/inspector/InspectorBackendDispatchers.h, ../../JavaScriptCore/DerivedSources/inspector/InspectorFrontendDispatchers.cpp, ../../JavaScriptCore/DerivedSources/inspector/InspectorFrontendDispatchers.h, ../../JavaScriptCore/DerivedSources/inspector/InspectorProtocolObjects.cpp, ../../JavaScriptCore/DerivedSources/inspector/InspectorProtocolObjects.h, ../../JavaScriptCore/DerivedSources/inspector/InspectorBackendCommands.js > error: invalid argument '-std=c++23' not allowed with 'C' > C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.Cpp.ClangCl.Common.targets(123,5): error MSB6006: "clang-cl.exe" exited with code 1. [C:\webkit\wb\WebKitBuild\Debug\Source\JavaScriptCore\JavaScriptCore.vcxproj]
Attachments
Fujii Hironori
Comment 1 2024-12-08 18:08:39 PST
reported to CMake: VS ClangCL: error: invalid argument '-std=c++23' not allowed with 'C' (#26508) · Issues · CMake / CMake · GitLab https://gitlab.kitware.com/cmake/cmake/-/issues/26508
Don Olmstead
Comment 2 2024-12-18 11:22:59 PST
EWS
Comment 3 2024-12-18 16:31:40 PST
Committed 288054@main (b5a3b27d3def): <https://commits.webkit.org/288054@main> Reviewed commits have been landed. Closing PR #38148 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.