summaryrefslogtreecommitdiffstats
path: root/external/libcmis
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-16 17:56:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-16 17:56:08 +0100
commitbe067003098c9a9537b713742d14d8f502a9c0b7 (patch)
tree7fd74fcbfcd297d4e8461ac82fd0935ba59b8371 /external/libcmis
parentloplugin:redundantcast: Avoid double warnings on some const_cast (diff)
downloadcore-be067003098c9a9537b713742d14d8f502a9c0b7.tar.gz
core-be067003098c9a9537b713742d14d8f502a9c0b7.zip
Silence loplugin:redundantcast false warning
...that is curiously only reported when building with clang -std=gnu++17: > sc/qa/unit/ucalc_condformat.cxx:185:80: error: redundant const_cast from 'ScConditionalFormat *' to 'const ScConditionalFormat *', result is implictly cast to 'const ScConditionalFormat *const' [loplugin:redundantcast] > CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong conditional format instance.", pCheck, const_cast<const ScConditionalFormat*>(pFormat)); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:230:32: note: expanded from macro 'CPPUNIT_ASSERT_EQUAL_MESSAGE' > (actual), \ > ~^~~~~~~ > 1 error generated. > make[1]: *** [solenv/gbuild/LinkTarget.mk:270: workdir/CxxObject/sc/qa/unit/ucalc_condformat.o] Error 1 Change-Id: If2e8577bad4ec7454d584eb59106734d47f876ad
Diffstat (limited to 'external/libcmis')
0 files changed, 0 insertions, 0 deletions