From 3e07ba1012a83cbe8813e825f06deadcbdab814b Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 14 Jul 2002 16:07:39 +0000 Subject: [PATCH] tru64cxx6.5 workarounds [SVN r14450] --- include/boost/python/detail/string_literal.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/boost/python/detail/string_literal.hpp b/include/boost/python/detail/string_literal.hpp index d8230bb8..ddafa401 100644 --- a/include/boost/python/detail/string_literal.hpp +++ b/include/boost/python/detail/string_literal.hpp @@ -26,7 +26,19 @@ struct is_string_literal { BOOST_STATIC_CONSTANT(bool, value = true); }; + +# if defined(__DECCXX_VER) && __DECCXX_VER <= 60590014 +// This compiler mistakenly gets the type of string literals as char* +// instead of char[NN]. +template <> +struct is_string_literal +{ + BOOST_STATIC_CONSTANT(bool, value = true); +}; +# endif + # else + // CWPro7 has trouble with the array type deduction above template struct is_string_literal