From f688cbb29287df2e1d84fa3ae821bfedaaa3b4d2 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 1 May 2009 17:11:20 +0000 Subject: [PATCH] Fixed dynamic_cast support detection on HPUX (aCC). --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 7ba1b273..2a01b614 100644 --- a/SConstruct +++ b/SConstruct @@ -1414,8 +1414,8 @@ AC_TRY_COMPILE( AC_MSG_CHECKING([if C++ compiler supports dynamic_cast<> (required)]) AC_TRY_COMPILE( [ - class foo { virtual ~foo() { } }; - class bar : public foo { }; + class foo { public: virtual ~foo() { } }; + class bar : public foo { public: virtual ~bar() { } }; ],[ foo *c=0; bar *c1=dynamic_cast(c);