Please fill also the fields below. Note that root -b -q will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug from the ROOT prompt to pre-populate a topic.
ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided
Dear Experts,
I have a ROOT-based project and I also have it on conda-forge.
Naively I expect that my project picks correct c++ compiler from ROOT (or picks up the ROOT version compatible with conda-forge compiler), however at the build time I have numerous warnings
$PREFIX/include/RConfigure.h:30:4: warning: #warning "The C++ standard in this build does not match ROOT configuration (202002L); this might cause unexpected issues" [-Wcpp]
30 | # warning "The C++ standard in this build does not match ROOT configuration (202002L); this might cause unexpected issues"
| ^~~~~~~
[
I suspect that these warnings coudl point that my assumptions are too naive.
Is there a recommended way to ensure that I do not have compiler conflicts at conda?
I also have suspicion that any actions inside the cmake-script are already a bit late, since conda-forge reports the chosen compiler (gcc10) well before starting cmake