MetaScale/nt2 — Issue #140: File "value_at.hpp" does not compile with MSVC++
Author: jjnvdm
Created: 2012-03-05 14:19:47+00:00
State: open

This problem has been part of NT2 for a few weeks. I use MSVC++ 2010 (32-bit) on Windows 7 (64 bit). I have the following include files in my code:

#include
#include
#include

The "functions.hpp" file includes the "value_at.hpp" file. This file fails with the following compilation errors:

1> lab.cpp
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2059: syntax error : '}'
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2143: syntax error : missing ';' before '}'
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2059: syntax error : '}'
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2653: 'tag' : is not a class or namespace name
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'fundamental_' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'A0' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2059: syntax error : ','
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'fusion_sequence_' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'A1' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2059: syntax error : ')'
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2653: 'tag' : is not a class or namespace name
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'cpu_' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C3861: 'value_at_': identifier not found
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2653: 'tag' : is not a class or namespace name
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2653: 'tag' : is not a class or namespace name
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2653: 'tag' : is not a class or namespace name
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'fundamental_' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'A0' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2059: syntax error : ','
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'fusion_sequence_' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'A1' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2059: syntax error : ')'
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2653: 'tag' : is not a class or namespace name
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2065: 'cpu_' : undeclared identifier
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C3861: 'value_at_': identifier not found
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(20): error C2059: syntax error : '}'
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(22): error C2143: syntax error : missing ';' before '{'
1>c:\program files (x86)\nt2\include\nt2\core\functions\scalar\value_at.hpp(22): error C2447: '{' : missing function header (old-style formal list?)