office-gobmx/helpcompiler
Stephan Bergmann ba2ef4a37f Avoid -Werror,-Wdeprecated-enum-enum-conversion
...with recent Clang 10 trunk:

> helpcompiler/source/HelpIndexer.cxx:119:71: error: bitwise operation between different enumeration types ('lucene::document::Field::Store' and 'lucene::document::Field::Index') is deprecated [-Werror,-Wdeprecated-enum-enum-conversion]
>     doc->add(*_CLNEW Field(_T("path"), aPath.data(), Field::STORE_YES | Field::INDEX_UNTOKENIZED));
>                                                      ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~

where the Field constructor in
workdir/UnpackedTarball/clucene/src/core/CLucene/document/Field.h has an "int
_config" parameter that is apparently intended to take a mix of Store (bit
values 1, 2, 4) and Index (bit values 16, 32, 64, 128) flags.

Change-Id: Ie080e44bf820cb776bc61ac22cf73f5437d8c5dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85972
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-30 08:32:26 +01:00
..
inc
source Avoid -Werror,-Wdeprecated-enum-enum-conversion 2019-12-30 08:32:26 +01:00
Executable_HelpIndexer.mk
Executable_HelpLinker.mk
IwyuFilter_helpcompiler.yaml
Library_helplinker.mk
Makefile
Module_helpcompiler.mk