This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to test 4 compiler version
- From: "Hotmail \(ArbolOne\)" <ArbolOne at hotmail dot ca>
- To: "gcc-help Mailing List" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 28 May 2015 13:30:03 -0400
- Subject: How to test 4 compiler version
- Authentication-results: sourceware.org; auth=none
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