diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-27 15:26:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-27 23:02:04 +0100 |
commit | 7d97827e5bfd080f884d900c4018d0d826316ce5 (patch) | |
tree | b7f812e4e106fc971ecc50fe2804ba7bf183401b /external/boost/boost_1_59_0.mpl.config.wundef.patch | |
parent | Missing --tag=RC (diff) | |
download | core-7d97827e5bfd080f884d900c4018d0d826316ce5.tar.gz core-7d97827e5bfd080f884d900c4018d0d826316ce5.zip |
Silence clang-cl -Werror,-Wc++11-narrowing in external/gpgmepp
> workdir/UnpackedTarball/gpgmepp/lang/cpp/src/gpgadduserideditinteractor.cpp(105,10): error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing]
> case ERROR:
> ^
> workdir/UnpackedTarball/gpgmepp/lang/cpp/src/gpgadduserideditinteractor.cpp(182,10): error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing]
> case ERROR:
> ^
where ERROR is defined in gpgadduserideditinteractor.cpp as
> enum {
> START = EditInteractor::StartState,
> COMMAND,
> NAME,
> EMAIL,
> COMMENT,
> QUIT,
> SAVE,
>
> ERROR = EditInteractor::ErrorState
> };
and ErrorState is defined in editinteractor.h as
> enum {
> StartState = 0,
> ErrorState = 0xFFFFFFFF
> };
but ERROR is nevertheless signed according to MSVC's broken enum rules.
Change-Id: Ie85361a681ef02dc9705b565ca892d9a4c705afa
Reviewed-on: https://gerrit.libreoffice.org/45346
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/boost/boost_1_59_0.mpl.config.wundef.patch')
0 files changed, 0 insertions, 0 deletions