From 578d2e4e4696159d954cdf0a6186f1b023e2954c Mon Sep 17 00:00:00 2001 From: Yash Date: Thu, 29 Jan 2026 19:31:35 +0000 Subject: [PATCH] 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 --- cpukit/include/rtems/confdefs/extensions.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cpukit/include/rtems/confdefs/extensions.h b/cpukit/include/rtems/confdefs/extensions.h index c1d902f986..38f99be048 100644 --- a/cpukit/include/rtems/confdefs/extensions.h +++ b/cpukit/include/rtems/confdefs/extensions.h @@ -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 #endif