mercredi 20 juillet 2016
Resolving Error C2399 in Visual C++
When I execute any C++ program in Visual Studio, event the simplest like the following:
class base
{
public:
int i[10];
};
int main()
{
base p1;
std::cout << sizeof(base);
return 0;
}
I get the following errors:
Error C2399 variable templates are not supported in this release.
Error C2061 syntax error: identifier '__make_integer_seq'.
Error C2065 '_Vals': undeclared identifier.
Error C2975 '_Vals': invalid template argument for
'std::integer_sequence', expected compile-time constant expression
Error C2061 syntax error: identifier 'make_integer_sequence'
Error C2631 'identity': a class or enum cannot be defined in an alias
template
Error C1903 unable to recover from previous error(s); stopping
compilation
How can I resolve the above errors ?
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire