Summary: | dev-cpp/lucene++-3.0.7 - In file included from .../work/lucene++-3.0.7_build/src/core/cotire/lucene++_CXX_prefix.hxx:4: .../work/LucenePlusPlus-rel_3.0.7/include/Lucene.h:43:14: error: ‘int64_t’ is already declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Reinis Danne <rei4dan> |
Component: | [OLD] Library | Assignee: | Johannes Huber (RETIRED) <johu> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | lucene++-3.0.7-build.log.gz |
Description
Reinis Danne
2015-12-24 11:10:01 UTC
Created attachment 420636 [details]
lucene++-3.0.7-build.log.gz
In file included from /var/tmp/portage/dev-cpp/lucene++-3.0.7/work/LucenePlusPlus-rel_3.0.7/src/core/include/LuceneInc.h:20:0, from /var/tmp/portage/dev-cpp/lucene++-3.0.7/work/lucene++-3.0.7_build/src/core/cotire/lucene++_CXX_prefix.cxx:4, from /var/tmp/portage/dev-cpp/lucene++-3.0.7/work/lucene++-3.0.7_build/src/core/cotire/lucene++_CXX_prefix.hxx:4: /var/tmp/portage/dev-cpp/lucene++-3.0.7/work/LucenePlusPlus-rel_3.0.7/include/Lucene.h:43:14: error: ‘int64_t’ is already declared in this scope using boost::int64_t; Can not reproduce with gcc-5.3.0 and boost-1.58.0. If there is anything missing to reproduce please let me know. Turns out that there was an orphaned copy of boost headers at /usr/include/boost-1_51/boost/ alongside the proper copy at /usr/include/boost/. Removing it fixed the issue. |