From ab3cc1b8ad98965b52a8a3aa4cfd3403d346eb06 Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Sat, 3 Oct 2026 12:01:09 +0300 Subject: [PATCH] Enable BOOST_PYTHON_HAVE_GCC_CP_DEMANGLE for the LCC compiler LCC is based on EDG, but it does have `gcc_demangle`. --- include/boost/python/type_id.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/python/type_id.hpp b/include/boost/python/type_id.hpp index 601601c311..849b77c2ee 100644 --- a/include/boost/python/type_id.hpp +++ b/include/boost/python/type_id.hpp @@ -18,7 +18,7 @@ # ifndef BOOST_PYTHON_HAVE_GCC_CP_DEMANGLE # if defined(__GNUC__) \ - && !defined(__EDG_VERSION__) + && (!defined(__EDG_VERSION__) || defined(__LCC__)) # define BOOST_PYTHON_HAVE_GCC_CP_DEMANGLE # endif # endif