You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi:
I build ROOT on Windows with msvc and with option /permissive-, it issues error like below, could you take a look at this issue, thanks. F:\gitP\root-project\root\tmva\tmva\inc\TMVA/RBatchGenerator.hxx(100,89): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type conversion syntax [F:\gitP\root-project\root\build_amd64\tmva\tmva\G__TMVA.vcxproj]
Check duplicate issues.
Description
Hi:
I build ROOT on Windows with msvc and with option /permissive-, it issues error like below, could you take a look at this issue, thanks.
F:\gitP\root-project\root\tmva\tmva\inc\TMVA/RBatchGenerator.hxx(100,89): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type conversion syntax [F:\gitP\root-project\root\build_amd64\tmva\tmva\G__TMVA.vcxproj]
Workaround:
If I remove the brackets around the
std::vector<std::size_t>
in the line: https://github.com/root-project/root/blob/master/tmva/tmva/inc/TMVA/RBatchGenerator.hxx#L100, error will disappear.Reproducer
Open a VS2022 x64 Native Tools command.
ROOT version
commit: 0d1f204
Installation method
build from source
Operating system
Windows
Additional context
build.log
The text was updated successfully, but these errors were encountered: