Files
loongoffice/jurt/source
Stephan Bergmann 57cc7797dd Avoid macro redefinition warnings in sanitizer builds
...when configure.ac happens to detect USE_SDT_PROBES, after
c5c0f8df855dfd4478c57170e251e4a9bcff1c10 "Replace strtmpl.cxx with actual C++
templates in strtmpl.hxx":

> In file included from jurt/source/pipe/staticsalhack.cxx:20:
> sal/rtl/ustring.cxx:48:9: error: 'RTL_LOG_STRING_BITS' macro redefined [-Werror,-Wmacro-redefined]
> #define RTL_LOG_STRING_BITS         16
>         ^
> sal/rtl/string.cxx:39:9: note: previous definition is here
> #define RTL_LOG_STRING_BITS         8
>         ^
> In file included from jurt/source/pipe/staticsalhack.cxx:20:
> sal/rtl/ustring.cxx:48:9: error: duplicate defines [loplugin:duplicatedefines]
> #define RTL_LOG_STRING_BITS         16
>         ^
> sal/rtl/string.cxx:39:9: note: previous define [loplugin:duplicatedefines]
> #define RTL_LOG_STRING_BITS         8
>         ^
> In file included from jurt/source/pipe/staticsalhack.cxx:55:
> sal/rtl/ustrbuf.cxx:29:9: error: duplicate defines [loplugin:duplicatedefines]
> #define RTL_LOG_STRING_BITS         16
>         ^
> sal/rtl/string.cxx:39:9: note: previous define [loplugin:duplicatedefines]
> #define RTL_LOG_STRING_BITS         8
>         ^

Change-Id: I23a1e058cf0d9ab7821dd9b1a2cba22fc69263c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110584
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-02-08 20:57:10 +01:00
..