From 2481c6194dc1d9d35562cbf18fdfc572961997d6 Mon Sep 17 00:00:00 2001 From: Gereon Kremer Date: Thu, 24 Feb 2022 21:17:45 +0100 Subject: [PATCH] Improve error message for missing options include (#8154) This PR improves the error message if one tries to use options whose header have not been included. --- src/options/mkoptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options/mkoptions.py b/src/options/mkoptions.py index 8a7dbf605..da3e98117 100644 --- a/src/options/mkoptions.py +++ b/src/options/mkoptions.py @@ -206,7 +206,7 @@ class Option(object): def generate_holder_fwd_decls(modules): """Render forward declaration of holder structs""" - return concat_format(' struct Holder{id_cap};', modules) + return concat_format(' struct Holder{id_cap}; // include "{header}" if this is an incomplete type', modules) def generate_holder_mem_decls(modules): -- 2.30.2