diff --git a/src/sst/core/eli/elementinfo.h b/src/sst/core/eli/elementinfo.h
index 8ce1da548..aa927d872 100644
--- a/src/sst/core/eli/elementinfo.h
+++ b/src/sst/core/eli/elementinfo.h
@@ -405,14 +405,15 @@ SST_ELI_getTertiaryNumberFromVersion(SST_ELI_element_version_extraction ver)
// this class. Sny local information will overwrite any inherited
// information. See comment for SST_ELI_DECLARE_BASE in elibase.h for
// info on how __EliDerivedLevel is used.
-#define SST_ELI_REGISTER_DERIVED(base, cls, lib, name, version, desc) \
- static constexpr int __EliDerivedLevel = std::is_same::value ? __EliBaseLevel : __EliBaseLevel + 1; \
- static bool ELI_isLoaded() \
- { \
- return SST::ELI::InstantiateBuilder::isLoaded() && \
- SST::ELI::InstantiateBuilderInfo::isLoaded(); \
- } \
- SST_ELI_FORCE_INSTANTIATION(base, cls) \
+#define SST_ELI_REGISTER_DERIVED(base, cls, lib, name, version, desc) \
+ [[maybe_unused]] static constexpr int __EliDerivedLevel = \
+ std::is_same::value ? __EliBaseLevel : __EliBaseLevel + 1; \
+ static bool ELI_isLoaded() \
+ { \
+ return SST::ELI::InstantiateBuilder::isLoaded() && \
+ SST::ELI::InstantiateBuilderInfo::isLoaded(); \
+ } \
+ SST_ELI_FORCE_INSTANTIATION(base, cls) \
SST_ELI_DEFAULT_INFO(lib, name, ELI_FORWARD_AS_ONE(version), desc)
#define SST_ELI_REGISTER_EXTERN(base, cls) \