office-gobmx/boost/boost_1_44_0-clang-warnings.patch
Tor Lillqvist 4910c54a39 Update the bundled boost to 1.54
Change-Id: I5704ab1beaae1d28c2ae8d643343185e8aa6a749
Reviewed-on: https://gerrit.libreoffice.org/5582
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-23 06:21:54 +00:00

50 lines
1.5 KiB
Diff

--- misc/boost_1_44_0/boost/math/tools/fraction.hpp
+++ misc/build/boost_1_44_0/boost/math/tools/fraction.hpp
@@ -33,7 +33,7 @@
typedef typename Gen::result_type result_type;
typedef typename Gen::result_type value_type;
- static result_type a(const value_type& v)
+ static result_type a(const value_type&)
{
return 1;
}
--- misc/boost_1_44_0/boost/random/lagged_fibonacci.hpp
+++ misc/build/boost_1_44_0/boost/random/lagged_fibonacci.hpp
@@ -16,6 +16,10 @@
#ifndef BOOST_RANDOM_LAGGED_FIBONACCI_HPP
#define BOOST_RANDOM_LAGGED_FIBONACCI_HPP
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <istream>
#include <iosfwd>
#include <algorithm> // std::max
--- misc/boost_1_44_0/boost/random/shuffle_output.hpp
+++ misc/build/boost_1_44_0/boost/random/shuffle_output.hpp
@@ -16,6 +16,10 @@
#ifndef BOOST_RANDOM_SHUFFLE_OUTPUT_HPP
#define BOOST_RANDOM_SHUFFLE_OUTPUT_HPP
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/random/shuffle_order.hpp>
namespace boost {
--- misc/boost_1_44_0/boost/random/subtract_with_carry.hpp
+++ misc/build/boost_1_44_0/boost/random/subtract_with_carry.hpp
@@ -16,6 +16,10 @@
#ifndef BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
#define BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/config/no_tr1/cmath.hpp> // std::pow
#include <iostream>
#include <algorithm> // std::equal