Sync from upstream.

This commit is contained in:
Rene Rivera
2024-07-12 08:54:07 -05:00
20 changed files with 104 additions and 139 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
+1 -1
View File
@@ -17,7 +17,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
#if defined(BOOST_GCC) && BOOST_GCC >= 130000 && BOOST_GCC < 140000
#if defined(BOOST_GCC) && BOOST_GCC >= 130000 && BOOST_GCC < 150000
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113256
# pragma GCC diagnostic ignored "-Wdangling-reference"
#endif
+1 -1
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
+1 -1
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
+7
View File
@@ -8,6 +8,13 @@
// http://www.boost.org/LICENSE_1_0.txt
//
#if defined(__GNUC__)
// -Warray-bounds false positive under GCC 14 UBSAN
// ./boost/bind/mem_fn.hpp:74:59: error: array subscript 'int (**)(...)[0]' is partly outside array bounds of 'X [1]' [-Werror=array-bounds=]
// 74 | return (get_pointer( std::forward<U>( u ) )->*pm_)( std::forward<A>( a )... );
# pragma GCC diagnostic ignored "-Warray-bounds"
#endif
#include <boost/bind/bind.hpp>
#include <boost/ref.hpp>
#include <boost/core/lightweight_test.hpp>
+1 -1
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
+1 -1
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
+1 -1
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
+1 -11
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
@@ -29,18 +29,8 @@ int main()
#include <boost/mem_fn.hpp>
#include <boost/shared_ptr.hpp>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(push, 3)
#endif
#include <iostream>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(pop)
#endif
struct X
{
mutable unsigned int hash;
-10
View File
@@ -19,18 +19,8 @@
#include <boost/mem_fn.hpp>
#include <boost/shared_ptr.hpp>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(push, 3)
#endif
#include <iostream>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(pop)
#endif
struct B
{
mutable unsigned int hash;
+1 -1
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
+1 -11
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
@@ -29,18 +29,8 @@ int main()
#include <boost/mem_fn.hpp>
#include <boost/shared_ptr.hpp>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(push, 3)
#endif
#include <iostream>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(pop)
#endif
struct X
{
mutable unsigned int hash;
-9
View File
@@ -20,17 +20,8 @@
#include <boost/mem_fn.hpp>
#include <boost/shared_ptr.hpp>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(push, 3)
#endif
#include <iostream>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(pop)
#endif
unsigned int hash = 0;
struct X
+1 -1
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
+1 -11
View File
@@ -1,6 +1,6 @@
#include <boost/config.hpp>
#ifndef BOOST_MSVC
#ifndef _MSC_VER
int main()
{
@@ -29,18 +29,8 @@ int main()
#include <boost/mem_fn.hpp>
#include <boost/shared_ptr.hpp>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(push, 3)
#endif
#include <iostream>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(pop)
#endif
struct X
{
mutable unsigned int hash;
-10
View File
@@ -19,18 +19,8 @@
#include <boost/mem_fn.hpp>
#include <boost/shared_ptr.hpp>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(push, 3)
#endif
#include <iostream>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(pop)
#endif
struct X
{
mutable unsigned int hash;
-10
View File
@@ -19,18 +19,8 @@
#include <boost/mem_fn.hpp>
#include <boost/shared_ptr.hpp>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(push, 3)
#endif
#include <iostream>
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#pragma warning(pop)
#endif
struct X
{
mutable unsigned int hash;