diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-02-28 09:21:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-02-28 10:25:45 +0100 |
commit | 8bda8ad7c0e48867c2abe44e0e84c0d86187f9ff (patch) | |
tree | fc8e02d80639c2c010f017d49d5d83c8a7e9b157 /jurt/source | |
parent | 4a33c86a5b44184a3ed34398cd795a9d42ac1a72 (diff) |
Adapt Clang -fsanitize jurt/source/pipe/staticsalhack.cxx
...to 1782810f886acd26db211d8fdd7ae8796d203c57 "Related: tdf#130725: use strtod
also in rtl::math::stringToDouble". The sal code recompiled into staticsalhack
now uses StaticLibrary_dtoa, and that external/dtoa code needs to be recompiled,
too.
Change-Id: I60a88fc2b38766da36b356f89853f322657bde34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89662
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'jurt/source')
-rw-r--r-- | jurt/source/pipe/staticsalhack.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jurt/source/pipe/staticsalhack.cxx b/jurt/source/pipe/staticsalhack.cxx index 4c25067f13c0..fa9547a9e0b8 100644 --- a/jurt/source/pipe/staticsalhack.cxx +++ b/jurt/source/pipe/staticsalhack.cxx @@ -76,4 +76,10 @@ extern "C" ImplTextEncodingData const * sal_getFullTextEncodingData( std::abort(); } +#define IEEE_8087 // see external/dtoa/StaticLibrary_dtoa.mk +#pragma clang diagnostic ignored "-Weverything" +extern "C" { +#include <src/dtoa.c> // workdir/UnpackedTarball/dtoa/src/dtoa.c +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |