am I correct to think that clang ignores the "-w" command line options? I could not find it documented one way or the other (I am talking about the user documentation here). It is pretty annoying for developing code that has to be build by the both of clang and g++.
Moreover, the warning option -Wmismatched-tags is enabled by default, which in my builds triggers reports about conflicting "struct complex" and "class complex" because the standard header declares:
whereas the Boost header <boost/detail/container_fwd.hpp> features
template <class T> class complex;
May I ask what danger is there in that construct that motivates a warning by default? If I were to push a bug report to the Boost people, I'd better be clad in certainties.
Chemical Crystallography Laboratory
University of Durham, UK