build(GridFire): building on gcc and clang

resolved some issues preventing GridFire from building on both gcc and clang. Also resolved all warnings on both compilers.
This commit is contained in:
2025-07-24 10:20:44 -04:00
parent c3bc75a7f4
commit cc3708fda5
11 changed files with 32 additions and 22 deletions

View File

@@ -4,7 +4,7 @@
namespace gridfire::reaclib {
static bool s_initialized = false;
[[maybe_unused]] static bool s_initialized = false;
/**
* @brief Provides global access to the fully initialized REACLIB reaction set.

View File

@@ -536,7 +536,7 @@ namespace gridfire::reaction {
///
friend std::ostream& operator<<(std::ostream& os, const TemplatedReactionSet<ReactionT>& r) {
os << "(ReactionSet: [";
int counter = 0;
size_t counter = 0;
for (const auto& reaction : r.m_reactions) {
os << reaction;
if (counter < r.m_reactions.size() - 2) {