aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2009-05-01 17:11:20 +0000
committerVincent Richard <[email protected]>2009-05-01 17:11:20 +0000
commitf688cbb29287df2e1d84fa3ae821bfedaaa3b4d2 (patch)
treeefc28df6643c0e57868e286fdc1dafff290979f3
parentRemoved '-pipe' compiler flags, as it is not available on all platforms. (diff)
downloadvmime-f688cbb29287df2e1d84fa3ae821bfedaaa3b4d2.tar.gz
vmime-f688cbb29287df2e1d84fa3ae821bfedaaa3b4d2.zip
Fixed dynamic_cast support detection on HPUX (aCC).
-rw-r--r--SConstruct4
1 files 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<bar*>(c);