The C++ compiler on MAC produces the following warning when I compile and build my application…
Thanks – Claude
In file included from /Users/aa7526/opt/root_from_source_nov23_2022/root_install/include/TSystem.h:36:
In file included from /Users/aa7526/opt/root_from_source_nov23_2022/root_install/include/TTimer.h:45:
In file included from /Users/aa7526/opt/root_from_source_nov23_2022/root_install/include/TSysEvtHandler.h:25:
In file included from /Users/aa7526/opt/root_from_source_nov23_2022/root_install/include/TQObject.h:42:
/Users/aa7526/opt/root_from_source_nov23_2022/root_install/include/TVirtualQConnection.h:53:42: warning: 'sizeof (val)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div]
constexpr size_t size = sizeof(val)/sizeof(val[0]);
_ROOT Version:_6.26/10 Platform: MAC OS 13.2.1 Compiler: clang and using cmake
@Wile_E_Coyote I followed your suggestion. Deleted the build and install. cloned the master and built it. It build fine. But I try to build my own libs on top then that fails with lots of errors. I wish APPLE would make fewer updates…
Sorry – I should have posted earlier… I downloaded root once again. Made sure all former root libraries were deleted. I also updated Xcode and the associated command line tools/libs etc. My code is now running and the warnings I saw two weeks ago are now “gone”. My code compiles and runs. I thank you once again for your response and the development and support of root.