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:
Yash
2026-01-29 19:31:35 +00:00
committed by YASH BHIWANIA
parent 9b1a9ec163
commit 578d2e4e46

View File

@@ -90,10 +90,6 @@
#endif #endif
#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 #ifdef CONFIGURE_STACK_CHECKER_ENABLED
#include <rtems/stackchk.h> #include <rtems/stackchk.h>
#endif #endif