This macro: #if ((_MSC_VER >= 1600) || #ifdef (GCC_VERSION > 40902)); gives me a warning that shays:â' warning: assertions are a deprecated extension [-Wdeprecated] How do we test for compiler versions in gcc? Thanks