ex26_ard_calc: add check for GSLC_FEATURE_COMPOUND
#include "GUIslice.h"
#include "GUIslice_drv.h"
+// Ensure optional compound element feature is enabled in the configuration
+// - Required by XKeyPad component
+#if !(GSLC_FEATURE_COMPOUND)
+ #error "Config: GSLC_FEATURE_COMPOUND required for this example but not enabled. Please update GUIslice_config."
+#endif
+
#include "elem/XKeyPad_Num.h"
// Note that font files are located within the Adafruit-GFX library folder:
