Update: Looks like a compiler issue. Managed to repoint (environment variable path) systemWorkBench at a 5.2.1 version and it compiles.
rm-none-eabi-g++ (GNU Tools for ARM Embedded Processors) 5.2.1 20151202
Would still be curious to understand the error and if the template code can be fixed. Or if it is the dud compiler.
rm-none-eabi-g++ (GNU Tools for ARM Embedded Processors) 5.2.1 20151202
Would still be curious to understand the error and if the template code can be fixed. Or if it is the dud compiler.