jeremywestAMX / ember-plus

Automatically exported from code.google.com/p/ember-plus
0 stars 0 forks source link

Compilation troubles of TinyEmberPlus on Linux #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
/home/arndt/src/emberplus-1.6.2-A/tinyember/TinyEmberPlus/gadget/DirtyState.h:19
: error:  shadows template parm 'class FlagType'
     template<typename FlagType>

That is due to violating C++11 Syntax
The relevant language specification is §14.6.1/7 A:
"A template-parameter shall not be redeclared within its scope (including 
nested scopes). A template-parameter shall not have the same name as the 
template name."
While the Microsoft Compiler seems to do it anyway, GCC is NOT.

Original issue reported on code.google.com by nullable...@gmail.com on 5 Dec 2014 at 9:17