Bump version to 6.4-15
[LibreOffice.git] / external / liborcus / gcc9.patch.0
blobf89b1dddccb1d3edfd9163ac9239b0f593a3a4a6
1 --- include/orcus/types.hpp
2 +++ include/orcus/types.hpp
3 @@ -7,6 +7,14 @@
4  
5  #ifndef INCLUDED_ORCUS_TYPES_HPP
6  #define INCLUDED_ORCUS_TYPES_HPP
8 +#ifdef __GNUC__
9 +#pragma GCC diagnostic push
10 +#pragma GCC diagnostic ignored "-Wpragmas" // for old GCC
11 +#pragma GCC diagnostic ignored "-Wunknown-warning-option" // for Clang
12 +#pragma GCC diagnostic ignored "-Wdeprecated-copy"
13 +#pragma GCC diagnostic ignored "-Wshadow"
14 +#endif
16  #include <cstdlib>
17  #include <vector>
18 @@ -145,6 +152,10 @@
19  typedef ::std::vector<xml_token_attr_t> xml_attrs_t;
21  }
23 +#ifdef __GNUC__
24 +#pragma GCC diagnostic pop
25 +#endif
27  #endif
28  /* vim:set shiftwidth=4 softtabstop=4 expandtab: */