From e3783223da84055c7ad9cc5bead37d2649166170 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 3 May 2016 12:12:23 +1000 Subject: Current builds allow RTTI and dynamic_cast is used on GTK+ and Cocoa. --- doc/SciCoding.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc/SciCoding.html') diff --git a/doc/SciCoding.html b/doc/SciCoding.html index 7edcbfebf..2e6e211c7 100644 --- a/doc/SciCoding.html +++ b/doc/SciCoding.html @@ -145,8 +145,7 @@

Do not use old C style casts like (char *)s. Instead use the most strict form of C++ cast possible like const_cast<char *>(s). Use static_cast and const_cast - where possible rather than reinterpret_cast. Because the code is compiled with - run-time type information turned off, dynamic_cast will not work. + where possible rather than reinterpret_cast.

The benefit to using the new style casts is that they explicitly detail what evil is -- cgit v1.2.3