| Summary: | app-text/libetonyek-0.1.3 - configure: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/limits:313:62: error: no matching function for call to 'Value::Value(int)' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Milka <miluse.nemcova> |
| Component: | [OLD] Library | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | njsg, zerochaos |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | configuration log | ||
I am able to hit this as well. gcc-4.7.4 hardened here. I can reproduce on amd64 with gcc 4.7.4 and 4.6.4. It compiles with gcc 4.8.4. libetonyek >=0.1.3 now checks for GCC >=4.8 (In reply to Andreas Sturmlechner from comment #3) > libetonyek >=0.1.3 now checks for GCC >=4.8 Is stable, old removed. |
Created attachment 407494 [details] configuration log The app-text/libetonyek-0.1.3 fails during the configure phase when using gcc x86_64-pc-linux-gnu-4.7.3 with error checking checking if mdds::flat_segment_tree can store values of any type... no configure: error: please install mdds >= 0.12.1 Installed versions of dev-util/mdds is 0.12.1. The actual problem is not 'mdds' but the compiler. See attached config.log lines 656-723. In file included from /usr/include/mdds/flat_segment_tree.hpp:35:0, from conftest.cpp:45: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/limits: In instantiation of 'static _Tp std::numeric_limits<_Tp>::max() [with _Tp = Value]': /usr/include/mdds/flat_segment_tree_def.inl:49:5: required from 'mdds::flat_segment_tree<_Key, _Value>::flat_segment_tree(mdds::flat_segment_tree<_Key, _Value>::key_type, mdds::flat_segment_tree<_Key, _Value>::key_type, mdds::flat_segment_tree<_Key, _Value>::value_type) [with _Key = int; _Value = Value; mdds::flat_segment_tree<_Key, _Value>::key_type = int; mdds::flat_segment_tree<_Key, _Value>::value_type = Value]' conftest.cpp:47:55: required from here /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/limits:313:62: error: no matching function for call to 'Value::Value(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/limits:313:62: note: candidates are: conftest.cpp:46:8: note: Value::Value() conftest.cpp:46:8: note: candidate expects 0 arguments, 1 provided conftest.cpp:46:8: note: Value::Value(const Value&) conftest.cpp:46:8: note: no known conversion for argument 1 from 'int' to 'const Value&' configure: failed program was: <snip> | #include <mdds/flat_segment_tree.hpp> | struct Value {}; | mdds::flat_segment_tree<int, Value> tree(0, 4, Value()); Compilation with gcc x86_64-pc-linux-gnu-4.8.4 finishes OK.