[multi-array] compiler errors with visual studio 2012
Hello,
have this c++ example which compiles with Visual Studio 2010 but with Visual
Studio 2012 I got this compiler errors:
1>------ Build started: Project: MultiArrayDemo, Configuration: Debug Win32
------
1> MultiArrayDemo.cpp
1>d:\sandbox\multiarraydemo\multiarraydemo\multiarraydemo.cpp(11):error
C2059: syntax error : '<'
1> d:\sandbox\multiarraydemo\multiarraydemo\multiarraydemo.cpp(25)
: see reference to class template instantiation 'Data<T>' being compiled
1>d:\sandbox\multiarraydemo\multiarraydemo\multiarraydemo.cpp(11):error
C2238: unexpected token(s) preceding ';'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The example uses the boost 1.53 version. Here is the example code:
#include "stdafx.h"
#include
participants (1)
-
nfarnsworthļ¼ web.de