title: What are the common problems in switching from GCC to Clang?
body: <p>Suppose my C++ is standard-compliant and I don’t rely on third-party libraries, what are the usual pitfalls encountered when replacing “g++” to “clang++” in the makefile? Like incompatible compiler options, different requirement of option order, some other limitations, etc.</p>