How to test 4 compiler version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux