CMake/Tests/CompileFeatures
Stephen Kelly 1f19ac4da5 Features: Adjust cxx_variadic_templates unit test for GNU < 4.7.
The unit test for this fails with GNU 4.6:

 Building CXX object CMakeFiles/test_cxx_variadic_templates.dir/cxx_variadic_templates.cpp.o
   CompileFeatures/cxx_variadic_templates.cpp: In static member function ‘static int Interface<I, Is>::accumulate()’:
   CompileFeatures/cxx_variadic_templates.cpp:18:31: sorry, unimplemented: cannot expand ‘Is ...’ into a fixed-length argument list
 CMakeFiles/test_cxx_variadic_templates.dir/build.make:54: recipe for target 'CMakeFiles/test_cxx_variadic_templates.dir/cxx_variadic_templates.cpp.o' failed

The workaround is to use a specialization:

 http://stackoverflow.com/questions/1989552
 http://stackoverflow.com/questions/11297376
2015-01-15 22:13:22 +01:00
..
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:55 +02:00