From 4efb2f7bd27d496e2aacb8867b53f7d22d8dfeda Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 27 Jun 2020 10:31:59 +0200 Subject: [PATCH] doc: parse.assert in C++ requires RTTI * doc/bison.texi (%define Summary): Say it. --- doc/bison.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/bison.texi b/doc/bison.texi index ac71fe6d..41461d29 100644 --- a/doc/bison.texi +++ b/doc/bison.texi @@ -6658,7 +6658,10 @@ In C, some important invariants in the implementation of the parser are checked when this option is enabled. In C++, when variants are used (@pxref{C++ Variants}), symbols must be -constructed and destroyed properly. This option checks these constraints. +constructed and destroyed properly. This option checks these constraints +using runtime type information (RTTI). Therefore the generated code cannot +be compiled with RTTI disabled (via compiler options such as +@option{-fno-rtti}). @item Accepted Values: Boolean