From 9d37199bf395d8cb4cf67db95d5c5c928996c7c8 Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Thu, 16 Nov 2023 12:42:03 +0000 Subject: [PATCH] Add compile test with BOOST_BIND_NO_PLACEHOLDERS defined --- test/Jamfile.v2 | 1 + test/test_json_parser3.cpp | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 test/test_json_parser3.cpp diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 2e7d4e74b..612a91954 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -20,6 +20,7 @@ run test_rapidxml.cpp ; run test_info_parser.cpp ; run test_json_parser.cpp ; run test_json_parser2.cpp ; +compile test_json_parser3.cpp ; run test_ini_parser.cpp ; run test_xml_parser_rapidxml.cpp ; diff --git a/test/test_json_parser3.cpp b/test/test_json_parser3.cpp new file mode 100644 index 000000000..0f9a60538 --- /dev/null +++ b/test/test_json_parser3.cpp @@ -0,0 +1,7 @@ +#define BOOST_BIND_NO_PLACEHOLDERS +#include + +// Must be able to build with BOOST_BIND_NO_PLACEHOLDERS defined +// History: https://github.com/boostorg/property_tree/pull/112#issuecomment-1812867565 + +int main() {}