From 850d06774c75fd959966e656ee500c81322a1cf7 Mon Sep 17 00:00:00 2001 From: scivision Date: Mon, 22 Sep 2025 08:37:55 -0400 Subject: [PATCH] GCC constructor priorites not for macOS fixes #686 This is a known issue across projects on macOS with GCC --- include/boost/ut.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/ut.hpp b/include/boost/ut.hpp index b39e964d..7b2cc2bc 100644 --- a/include/boost/ut.hpp +++ b/include/boost/ut.hpp @@ -3360,7 +3360,7 @@ using operators::operator>>; } // namespace boost::inline ext::ut::inline v2_3_1 #if (defined(__GNUC__) || defined(__clang__) || defined(__INTEL_COMPILER)) && \ - !defined(__EMSCRIPTEN__) + !defined(__EMSCRIPTEN__) && !defined(__APPLE__) __attribute__((constructor(101))) inline void cmd_line_args( int argc, const char* argv[]) { ::boost::ut::detail::cfg::largc = argc;