On Thu, May 28, 2015 at 1:33 PM, Hotmail (ArbolOne) <ArbolOne@xxxxxxxxxx> wrote: > Please remove this question, I found out where my mistake was :) The rest of the class is interested in knowing. > -----Original Message----- From: Hotmail (ArbolOne) > Sent: Thursday, May 28, 2015 1:30 PM > To: gcc-help Mailing List > Subject: How to test 4 compiler version > > > 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 >