mrdocs
mrdocs copied to clipboard
fix(clang-cl): reduce warnings
When compiling with clang-cl, there are warnings not present with MSVC
-
/MPisn't a thing in clang-cl. -
/W4enables-Wunused-parameterin clang-cl (or this might be enabled by default) - either way, it's not enabled in MSVC and generates some warnings here. -
getRawUnqualifiedreturned astd::string_viewto a temporarystd::stringand clang warned about it. -
-Wself-movewas ignored when__GNUC__was defined. This isn't defined with clang-cl, so ignore it in the clang block.
An automated preview of the documentation is available at https://900.mrdocs.prtest2.cppalliance.org/index.html
An automated preview of the documentation is available at https://900.mrdocs.prtest2.cppalliance.org/index.html