mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-04 04:31:36 +00:00
confdefs: Remove error for reporter without stack checker
Previously, if a user defined a stack checker reporter but disabled the stack checker (e.g. for testing), the build would fail with an #error. This change removes the error to allow flexible configuration. Closes #5425
This commit is contained in:
@@ -90,10 +90,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(CONFIGURE_STACK_CHECKER_ENABLED) && defined(CONFIGURE_STACK_CHECKER_REPORTER)
|
||||
#error "Stack checker is disabled but a custom reporter is configured"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIGURE_STACK_CHECKER_ENABLED
|
||||
#include <rtems/stackchk.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user