[Libreoffice-commits] core.git: vcl/inc
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 8 15:28:03 UTC 2020
vcl/inc/skia/salbmp.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d122a9d12d970d55f4dc9e4268e0681fd2e6786f
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jan 8 11:38:14 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jan 8 16:27:32 2020 +0100
Avoid -Werror,-Wundef
> In file included from C:/lo-clang/core/vcl/skia/salbmp.cxx:20:
> In file included from C:/lo-clang/core/vcl/inc\skia/salbmp.hxx:27:
> C:/lo-clang/core/workdir/UnpackedTarball/boost\boost/smart_ptr/shared_ptr.hpp(833,5): error: '__GNUC__' is not defined, evaluates to 0 [-Werror,-Wundef]
> #if __GNUC__ == 2 && __GNUC_MINOR__ <= 96
> ^
with clang-cl. We already have external/boost/include/boost/shared_ptr.hpp
ignoring (among others) -Wundef, but don't have such a wrapper for
boost/smart_ptr/shared_ptr.hpp.
Change-Id: I448fef581b0870cba821d7bbafcec759dd80dce4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86416
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/inc/skia/salbmp.hxx b/vcl/inc/skia/salbmp.hxx
index 40cbb62104d1..4550680400d7 100644
--- a/vcl/inc/skia/salbmp.hxx
+++ b/vcl/inc/skia/salbmp.hxx
@@ -24,7 +24,7 @@
#include <SkImage.h>
-#include <boost/smart_ptr/shared_ptr.hpp>
+#include <boost/shared_ptr.hpp>
class VCL_PLUGIN_PUBLIC SkiaSalBitmap final : public SalBitmap
{
More information about the Libreoffice-commits
mailing list