<div dir="rtl"><div dir="ltr">gcc 4.2.1 is really old from 2008.  Some configuration headers such as boost "libstdcpp3.hpp" behave differently for pre-gcc 4.3 or later. </div><div dir="ltr"><br></div><div dir="ltr">gcc 4.8.1 is more recent, reasonable claim for clang. </div><div dir="ltr"><br></div><div dir="ltr">I had tried going for 4.9.1 but encountered a problem with intrinsics in mingw 4.9.1 intrin.h which are treated differently for gcc 4.9 or later:</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"> * On GCC 4.9 we may always include those headers. On older GCCs, we may do it only if CPU</div><div dir="ltr"> * features used by them are enabled, so we need to check macros like __SSE__ or __MMX__ first.</div><div dir="ltr"> */</div><div dir="ltr">#if __MINGW_GNUC_PREREQ(4, 9)</div><div dir="ltr">#define __MINGW_FORCE_SYS_INTRINS</div><div dir="ltr">#endif</div><div>...</div><div><br></div><div>this does not work correctly with clang since the headers try to use SSE3 instructions without __SSE3__ being defined and fail.</div><div><br></div></div></div>