From b5833a7dc3b3b2eeab5e29a3d0ded3d1774f2625 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 Sep 2023 08:56:48 +0200 Subject: Add note to NEWS file --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 4b642a6..cd4e0ce 100644 --- a/NEWS +++ b/NEWS @@ -36,6 +36,12 @@ C++/Tree have the _clone() member function declared pure virtual which prevents the construction of instances of such types. + Note that if after upgrading to this version you start getting C++ + compile errors in the generated code with diagnostics saying that a + type cannot be instantiated because _clone() is pure virtual, then + it's a strong indication that this type (or its base) is polymorphic + and needs to be marked as such (see --polymorphic-type* options). + * New base_string() accessors in the xml_schema::{string,uri} types that return the underlying string. -- cgit v1.1