Not logged inOpenClonk Forum
Up Topic Development / Developer's Corner / Compilers and C++14
- - By Günther [de] Date 2015-12-28 19:10
I want to use a C++14 standard library feature (Compile-time integer sequences) to replace the macro magic in C4AulDefFunc.h with variadic templates. This feature appeared in gcc 4.9 and MSVC 2015. Does anybody still use an older compiler?

In the meantime, I've pushed a change switching gcc to C++14 mode, with a fallback to C++0x/C++11 as before. This way, we'll use the standard library version of make_unique.
Reply
Parent - By Isilkor Date 2015-12-28 23:02

> This feature appeared in gcc 4.9 and MSVC 2015. Does anybody still use an older compiler?


We're relying on std::cregex_iterator, which afair was first implemented properly in g++ 4.9, so nobody can be using an older version. MSVC 2015's Community Edition (which has feature parity with Professional) is freely available so we can just ask people to upgrade. I'd say go for it.
Reply
Up Topic Development / Developer's Corner / Compilers and C++14

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill