-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.10
-
Component/s: Build
-
Fully Compatible
-
ALL
As per Gentoo Linux bug https://bugs.gentoo.org/show_bug.cgi?id=596222
We are currently maintaining a patch for this which would be good to be dropped on future releases of mongodb (once you upgrade your vendor copy of boost for instance !)
The patch to fix this is here : https://596222.bugs.gentoo.org/attachment.cgi?id=450918
Build fails with:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/bits/stl_pair.h:227:5: note: template argument deduction/substitution failed:
src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const std::pair<_T1, _T2>' and 'mongo::StringData::const_iteratorUnknown macro: {aka const char*}'
haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end();
- duplicates
-
SERVER-31119 Compilation fails with boost 1.62
- Closed
- is related to
-
SERVER-27881 Upgrade to boost >= 1.63
- Closed