Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662192 - sci-libs/vtk-7.1 does not compile with >=icu-59
Summary: sci-libs/vtk-7.1 does not compile with >=icu-59
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-26 17:04 UTC by Vasiliy
Modified: 2019-05-09 16:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasiliy 2018-07-26 17:04:21 UTC
Compile stage fails with /usr/include/unicode/umachine.h: char16_t does not name a type.

In file included from /usr/include/unicode/utypes.h:38:0,
                 from /usr/include/unicode/ucnv_err.h:88,
                 from /usr/include/unicode/ucnv.h:52,
                 from /usr/include/unicode/ucnv.h:52,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/IO/Infovis/vtkXMLTreeReader.cxx:34

AFAIR char16_t is only valid in C++11.

gcc is 5.4.0-r3
Comment 1 Vasiliy 2018-07-27 12:22:09 UTC
Also, 

/usr/include/unicode/localpointer.h:221:34: error: expected <<,>> or <<...>> before <<&&>> token
     LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {

Definitely C++11, that's rvalue ref there.
Comment 2 Jonas Stein gentoo-dev 2018-08-04 10:02:13 UTC
please retry with gcc6 or gcc7 gcc5 is hardmasked.
Comment 3 Vasiliy 2018-08-09 17:14:04 UTC
My bad, didn't notice that gcc-5 is masked already. Yes, it compiles with gcc-6 as it has C++11 as default. INVALID, I guess.