diff --git a/src/aliceVision/localization/LocalizationResult.cpp b/src/aliceVision/localization/LocalizationResult.cpp index 5172d5f33a..e960576825 100644 --- a/src/aliceVision/localization/LocalizationResult.cpp +++ b/src/aliceVision/localization/LocalizationResult.cpp @@ -8,6 +8,10 @@ #include #include + +// Avoids deprecation warning caused by internals of json_parser. This is properly fixed in +// Boost 1.76.0: https://github.com/boostorg/property_tree/commit/d1c8825a45a0717e1ad79583d3283b0e5e32831e +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include #include diff --git a/src/aliceVision/sfm/pipeline/sequential/ReconstructionEngine_sequentialSfM.cpp b/src/aliceVision/sfm/pipeline/sequential/ReconstructionEngine_sequentialSfM.cpp index 27d06b1634..2725ae6033 100644 --- a/src/aliceVision/sfm/pipeline/sequential/ReconstructionEngine_sequentialSfM.cpp +++ b/src/aliceVision/sfm/pipeline/sequential/ReconstructionEngine_sequentialSfM.cpp @@ -35,6 +35,10 @@ #include #include #include + +// Avoids deprecation warning caused by internals of json_parser. This is properly fixed in +// Boost 1.76.0: https://github.com/boostorg/property_tree/commit/d1c8825a45a0717e1ad79583d3283b0e5e32831e +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include #include diff --git a/src/aliceVision/sfmDataIO/jsonIO.cpp b/src/aliceVision/sfmDataIO/jsonIO.cpp index 97bc337a58..d45bbbcaf9 100644 --- a/src/aliceVision/sfmDataIO/jsonIO.cpp +++ b/src/aliceVision/sfmDataIO/jsonIO.cpp @@ -8,6 +8,9 @@ #include #include +// Avoids deprecation warning caused by internals of json_parser. This is properly fixed in +// Boost 1.76.0: https://github.com/boostorg/property_tree/commit/d1c8825a45a0717e1ad79583d3283b0e5e32831e +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include #include diff --git a/src/software/convert/main_importKnownPoses.cpp b/src/software/convert/main_importKnownPoses.cpp index 9e17f8ece1..d315ea25ec 100644 --- a/src/software/convert/main_importKnownPoses.cpp +++ b/src/software/convert/main_importKnownPoses.cpp @@ -25,6 +25,10 @@ #include #include + +// Avoids deprecation warning caused by internals of json_parser. This is properly fixed in +// Boost 1.76.0: https://github.com/boostorg/property_tree/commit/d1c8825a45a0717e1ad79583d3283b0e5e32831e +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include diff --git a/src/software/pipeline/main_panoramaCompositing.cpp b/src/software/pipeline/main_panoramaCompositing.cpp index 6ac016cd5a..dc9cfde6ed 100644 --- a/src/software/pipeline/main_panoramaCompositing.cpp +++ b/src/software/pipeline/main_panoramaCompositing.cpp @@ -30,6 +30,10 @@ #include #include #include + +// Avoids deprecation warning caused by internals of json_parser. This is properly fixed in +// Boost 1.76.0: https://github.com/boostorg/property_tree/commit/d1c8825a45a0717e1ad79583d3283b0e5e32831e +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include #include diff --git a/src/software/pipeline/main_panoramaMerging.cpp b/src/software/pipeline/main_panoramaMerging.cpp index e636105174..9bda012f89 100644 --- a/src/software/pipeline/main_panoramaMerging.cpp +++ b/src/software/pipeline/main_panoramaMerging.cpp @@ -25,6 +25,10 @@ #include #include #include + +// Avoids deprecation warning caused by internals of json_parser. This is properly fixed in +// Boost 1.76.0: https://github.com/boostorg/property_tree/commit/d1c8825a45a0717e1ad79583d3283b0e5e32831e +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include #include diff --git a/src/software/pipeline/main_panoramaSeams.cpp b/src/software/pipeline/main_panoramaSeams.cpp index fae3f2d020..bc16e33102 100644 --- a/src/software/pipeline/main_panoramaSeams.cpp +++ b/src/software/pipeline/main_panoramaSeams.cpp @@ -28,6 +28,10 @@ #include #include #include + +// Avoids deprecation warning caused by internals of json_parser. This is properly fixed in +// Boost 1.76.0: https://github.com/boostorg/property_tree/commit/d1c8825a45a0717e1ad79583d3283b0e5e32831e +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include #include diff --git a/src/software/utils/main_colorCheckerCorrection.cpp b/src/software/utils/main_colorCheckerCorrection.cpp index 08a45607d2..978fc7a989 100644 --- a/src/software/utils/main_colorCheckerCorrection.cpp +++ b/src/software/utils/main_colorCheckerCorrection.cpp @@ -18,6 +18,10 @@ #include #include #include + +// Avoids deprecation warning caused by internals of json_parser. This is properly fixed in +// Boost 1.76.0: https://github.com/boostorg/property_tree/commit/d1c8825a45a0717e1ad79583d3283b0e5e32831e +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include #include diff --git a/src/software/utils/main_colorCheckerDetection.cpp b/src/software/utils/main_colorCheckerDetection.cpp index b956c5c90a..640cab0c87 100644 --- a/src/software/utils/main_colorCheckerDetection.cpp +++ b/src/software/utils/main_colorCheckerDetection.cpp @@ -19,6 +19,10 @@ #include #include #include + +// Avoids deprecation warning caused by internals of json_parser. This is properly fixed in +// Boost 1.76.0: https://github.com/boostorg/property_tree/commit/d1c8825a45a0717e1ad79583d3283b0e5e32831e +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include #include