From 7df84b35eb28cd02bd3dd5801656b57943606681 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 26 Jun 2025 22:33:18 +0300 Subject: [PATCH] Add a test for the conflict with under MSVC. Refs #84. --- test/Jamfile.v2 | 1 + test/issue_84.cpp | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 test/issue_84.cpp diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 7502340..9482be3 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -115,3 +115,4 @@ compile zip_view.cpp ; run string.cpp ; run issue_69.cpp ; +run issue_84.cpp ; diff --git a/test/issue_84.cpp b/test/issue_84.cpp new file mode 100644 index 0000000..9bc8b8d --- /dev/null +++ b/test/issue_84.cpp @@ -0,0 +1,15 @@ +// Copyright 2025 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt + +// Check for conflicts with MS iso646.h, which defines macros for `and` et al + +#include +#include +#include +#include +#include + +int main() +{ +}