From ebdf7b2c041e6b9cb4c2d41922cab247ceea3779 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Fri, 17 Jul 2020 09:53:07 +0200 Subject: [PATCH] Fix a compiler with the no_unique_address attribute, in C++03 --- Installation/include/CGAL/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installation/include/CGAL/config.h b/Installation/include/CGAL/config.h index 24a30f8a756..acb965c1258 100644 --- a/Installation/include/CGAL/config.h +++ b/Installation/include/CGAL/config.h @@ -555,7 +555,7 @@ using std::max; #endif // Macro to specify [[no_unique_address]] if supported -#if __has_cpp_attribute(no_unique_address) +#if CGAL_CXX11 && __has_cpp_attribute(no_unique_address) # define CGAL_NO_UNIQUE_ADDRESS [[no_unique_address]] #else # define CGAL_NO_UNIQUE_ADDRESS