[Webkit-unassigned] [Bug 245176] [CMake] Clang warnings about C code being built in C++ mode
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 14 14:12:54 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=245176
Stephan Szabo <stephan.szabo at sony.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stephan.szabo at sony.com
--- Comment #5 from Stephan Szabo <stephan.szabo at sony.com> ---
We'd noticed something similar in the past, but we thought it was something specific to our downstream compilers, so in our case we ended up forcing a -xc++ into the build in our toolchain.
It feels like this should work from the CMake side (setting the language to CXX for a file that has .c extension), so if it's more general and happens in a test project, I wonder if it's something that should get handled inside the CMake code (well the modules for the compiler).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220914/7ff6a5ca/attachment.htm>
More information about the webkit-unassigned
mailing list