As part of WT-14282, we have added a workaround for a known GCC compiler bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523). The workaround disables the warning flag for the file. Once we compile we with a newer GCC version, evaluate whether we need this workaround.