How to test 4 compiler version

Hotmail (ArbolOne) ArbolOne@hotmail.ca
Thu May 28 17:30:00 GMT 2015


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 



More information about the Gcc-help mailing list