Do not perform the test for g++ <= 4.2

This commit is contained in:
Andreas Fabri 2016-02-03 10:44:41 +01:00
parent 8cee2ef1dd
commit 1b10cd8d28
1 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,15 @@
#include <boost/config.hpp>
#if (BOOST_GCC < 40300)
#include <iostream>
int main()
{
std::cerr << "NOTICE: This test requires G++ > 4.2, and will not be compiled." << std::endl;
}
#else
//#define BOOST_RESULT_OF_USE_DECLTYPE 1
#include <CGAL/Epick_d.h>
#include <typeinfo>
@ -600,3 +612,5 @@ int main(){
test3<Ker3>();
test3<Kerd>();
}
#endif