Page MenuHomePhabricator

VS 2013 compatibility: MitkCoreTestDriver fails
Closed, ResolvedPublic

Description

DESCRIPTION

Fehler 1 error C2678: Binärer Operator '<<': Es konnte kein Operator gefunden werden, der einen linksseitigen Operanden vom Typ 'std::stringstream' akzeptiert (oder keine geeignete Konvertierung möglich) [C:\devel\mbi-bin\MITK-superbuild\MITK-build\Core\Code\Testing\MitkCoreTestDriver.vcxproj] M:\mitk-src\MITK\Utilities\mbilog\mbilog.h 112 1 MITK-build

CAUSE
the error occurs because it seems that the VC compiler does not accept a stringstream object for the << operator

SOLUTION
add .str() to the stringstream object in the testdriver

Related Objects

Event Timeline

User muellerm has pushed new remote branch:

bug-17679-VS2013compatibility

[d05cf6]: Merge branch 'bug-17679-VS2013compatibility'

Merged commits:

2014-04-03 14:31:22 Michael Mueller [63a1f4]
fixed core test driver for VS 2013


2014-04-02 22:25:12 Michael Mueller [7d94ce]
Merge branch 'master' of mitk.org:MITK


2014-03-23 14:41:50 Michael Mueller [d82cb4]
Merge branch 'bug-17589-current-opencv-version-fails-on-vs-2013'