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 make some classes module private 2019-12-05 07:01:44 +01:00
source Avoid -Werror,-Wdeprecated-enum-enum-conversion 2019-12-30 08:32:26 +01:00
Executable_HelpIndexer.mk
Executable_HelpLinker.mk
IwyuFilter_helpcompiler.yaml tdf#42949 Fix IWYU warnings in helpcompiler/ 2019-05-30 09:00:54 +02:00
Library_helplinker.mk
Makefile
Module_helpcompiler.mk