From 9217a6a25342fffe2ff15e0a8581915b320b67d9 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 4 Aug 2003 20:54:07 +0000 Subject: [PATCH] avoid (incorrect) Tru64 cxx 6.5.1 warning [SVN r19445] --- src/object/function.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/object/function.cpp b/src/object/function.cpp index 5594ef7a..768a7ed1 100644 --- a/src/object/function.cpp +++ b/src/object/function.cpp @@ -43,7 +43,11 @@ extern PyTypeObject function_type; function::function( py_function const& implementation +#if BOOST_WORKAROUND(__EDG_VERSION__, == 245) + , python::detail::keyword const* names_and_defaults +#else , python::detail::keyword const* const names_and_defaults +#endif , unsigned num_keywords ) : m_fn(implementation)