summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-09-28 08:56:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-09-28 08:56:48 +0200
commitb5833a7dc3b3b2eeab5e29a3d0ded3d1774f2625 (patch)
treed3b108235f32ae16ed941771ad18e2b666627d9a /NEWS
parent9bd5fd881a969d2517b666dc3582c4b8c7203dba (diff)
Add note to NEWS file
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
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.