[vtk-developers] Building VTK against llvm's libc++
Sean McBride
sean at rogue-research.com
Mon Feb 25 15:06:11 EST 2013
Hi all,
I've just tried building VTK against llvm's libc++ in C++11 mode:
<http://libcxx.llvm.org>
I fixed one small error, but another exists that I don't understand (I'm no C++ expert):
VTK/Common/Core/vtkOStreamWrapper.cxx:60:1: error: invalid operands to binary expression ('ostream' (aka 'basic_ostream<char>') and 'ostream')
VTKOSTREAM_OPERATOR(ostream&);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VTK/Common/Core/vtkOStreamWrapper.cxx:26:18: note: expanded from macro 'VTKOSTREAM_OPERATOR'
{ this->ostr << a; return *this; }
~~~~~~~~~~ ^ ~
Any of you C++ gurus understand this? :)
(You can repro on Mac with recent OS X & Xcode with CMAKE_CXX_FLAGS = -std=c++11 -stdlib=libc++)
Thanks,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtk-developers
mailing list