-1

I am using setjmp and longjmp in our code with standard library [#include <setjmp.h>]. When I am trying to use it showing following MISRA error: Violation of MISRA C:2012 21.4: The standard header file <setjmp.h> shall not be used. and Use of lonjmp() is not recommended because it is correlated with security or safety problems. enter image description hereenter image description here

  • **DO NOT post images of code, data, error messages, etc.** - copy or type the text into the question. [ask] – Rob Mar 15 '21 at 11:24

1 Answers1

-1

Switch off the 21.4 rule check or don't use any setjmp operations.