From 21d181380f2de2a01c3020c490281a6d2f754628 Mon Sep 17 00:00:00 2001 From: Jean Rubillon Date: Tue, 8 Sep 2020 21:04:21 +0100 Subject: [PATCH] Signal that cexception needs setjmp to be supported. --- lib/cmock_generator_plugin_cexception.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cmock_generator_plugin_cexception.rb b/lib/cmock_generator_plugin_cexception.rb index a757669..b3ea13a 100644 --- a/lib/cmock_generator_plugin_cexception.rb +++ b/lib/cmock_generator_plugin_cexception.rb @@ -12,6 +12,7 @@ class CMockGeneratorPluginCexception @config = config @utils = utils @priority = 7 + raise 'Error: cexception is not supported without setjmp support' unless @config.has_setjmp_h end def include_files