Just trying to figure out the history and reasoning behind some of the flags we have - for example, in the math repo we have
-Wno-unused-function in the following circumstances:
- Windows g++ or mingw32-g++
- OSX g++ or clang++
- Linux clang++
Why isn’t this flag universal? e.g. why isn’t it also present for Linux g++?
Separately, I’m guessing this flag is in place because we decided we didn’t care about warnings for unused functions? Curious about that too.
Other non-universally declared flags in the math repo I’m curious about:
Would love to make these universal, especially now that our Jenkins setup is getting less homogeneous with the addition of the 16 core Linux box in Ben’s office.
I think @syclik might have answers here but wanted to post here for posterity as well.