I'm trying to get TBB 2017 U7 compiling with GCC 7.1, using C++17 (or rather, --std=c++1z) mode. I hacked the linux.gcc.inc file to add the appropriate flag, but compilation failed due to use of dynamic exception specifications in tbbmalloc. Specifically:
There may, of course, be others but I can only get this far.
Dynamic exception specifications are removed in C++17. Not only that, they have been deprecated since C++11. I believe they could be removed without significant impact. How about it?
Happy to report no errors, or even warnings, compiling libtbb.so under the same conditions!