Page MenuHomePhabricator

ambiguous overloaded operator << in VTK build
Closed, ResolvedPublic

Description

when building VTK with the superbuild VS 2010 might complain about an ambiguous overloaded operator << in VTK build (std::ofstream related for 64 bit types).

solution:

add in Ln 84 in CMake/VTK.cmake
-DVTK_DO_NOT_DEFINE_OSTREAM_SLL:BOOL=ON
-DVTK_DO_NOT_DEFINE_OSTREAM_ULL:BOOL=ON

Event Timeline

User zelzer has pushed new remote branch:

bug-17858-ambiguous-overloaded-operator-vtk

[1db0d2]: Merge branch 'bug-17858-ambiguous-overloaded-operator-vtk'

Merged commits:

2014-09-24 15:34:57 Sascha Zelzer [817985]
Don't declare ostream operators for 64 bit types