Ignore:
Timestamp:
01/17/20 18:20:22 (4 years ago)
Author:
ymipsl
Message:

Compiler fix : solve the problem of crash occured with recent version of GCC, only in optimised mode > O1
It seems to be due to non return value from a non void function in case of early initialization (static initialization).
Thanks to A. Durocher who find the tip.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-2.5/src/type/enum_ref_impl.hpp

    r1158 r1850  
    236236    else ERROR("template <typename T> bool CEnum_ref<T>::_fromBuffer(CBufferIn& buffer)", 
    237237               << "incompatibility between enumeration and standard integer type"); 
     238    return ret ; 
    238239  } 
    239240  
Note: See TracChangeset for help on using the changeset viewer.