diff --git a/src/libCom/cxxTemplates/resourceLib.h b/src/libCom/cxxTemplates/resourceLib.h index 0b0ba937b..cc4a578e1 100644 --- a/src/libCom/cxxTemplates/resourceLib.h +++ b/src/libCom/cxxTemplates/resourceLib.h @@ -523,7 +523,9 @@ bool resTable::setTableSizePrivate ( unsigned logBaseTwoTableSize ) } const unsigned newTableSize = 1 << logBaseTwoTableSize; - const unsigned oldTableSize = this->pTable ? 1 << this->logBaseTwoTableSize : 0; +# if ! defined (__GNUC__) || __GNUC__ > 2 || ( __GNUC__ == 2 && __GNUC_MINOR__ >= 92 ) + const unsigned oldTableSize = this->pTable ? 1 << this->logBaseTwoTableSize : 0; +# endif const unsigned oldTableOccupiedSize = this->tableSize (); tsSLList * pNewTable = ( tsSLList * )