Completely new here,
Just thinking If I can squeeze a bit of perf out by building with clang, but have been unsuccessful
D:\sources\blender\intern\ghost\intern\GHOST_Wintab.cpp(191,14): error: non-constant-expression cannot be narrowed from type 'int' to 'std::vector<tagPACKET>::size_type' (aka 'unsigned long long') in initializer list [-Wc++11-narrowing]
m_pkts{queueSize}
^~~~~~~~~
D:\sources\blender\intern\ghost\intern\GHOST_Wintab.cpp(191,14): note: insert an explicit cast to silence this issue
m_pkts{queueSize}
^~~~~~~~~
static_cast<size_type>( )
1 error generated.
[30/4805] Building CXX object intern\ghost\CMakeFiles\bf_intern_ghost.dir\intern\GHOST_WindowWin32.cpp.obj
ninja: build stopped: subcommand failed.
Error during build
using visual studio 2022, latest version, clang 14.0.6 compiled locally.
have to mention alot of warnings are omitted with -w
so the error shows, but no other changes to blender source.
built with make ninja clang 2022
, have seen some warnings related to the wrong msvc version when configurating cmake but it just continues.
Is building with clang even supported anymore?