Ignore:
Timestamp:
03/26/21 11:27:42 (3 years ago)
Author:
jderouillat
Message:

Enable GNU compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_array_decl.cpp

    r1158 r2118  
    1919  template class CAttributeArray<StdString,1> ; 
    2020  template class CAttributeArray<StdString,2> ; 
     21 
     22#define macrotyperank(_TYPE_,_RANK_)                                    \ 
     23  template<> int CAttributeArray<_TYPE_,_RANK_>::TV_ttf_display_type(const CAttributeArray<_TYPE_,_RANK_>* array ) \ 
     24  {\ 
     25    return CAttributeArray<_TYPE_,_RANK_>::show_TV_ttf_display_type (array) ;\ 
     26  } 
     27 
     28#define macrotype(_TYPE_)\ 
     29macrotyperank(_TYPE_,1)\ 
     30macrotyperank(_TYPE_,2)\ 
     31macrotyperank(_TYPE_,3)\ 
     32macrotyperank(_TYPE_,4)\ 
     33macrotyperank(_TYPE_,5)\ 
     34macrotyperank(_TYPE_,6)\ 
     35macrotyperank(_TYPE_,7) 
     36 
     37macrotype(double) 
     38macrotype(int) 
     39macrotype(bool) 
     40macrotype(size_t) 
     41macrotype(float) 
     42macrotype(string) 
     43 
     44#undef macrotyperank 
     45#undef macrotype 
     46 
    2147} 
Note: See TracChangeset for help on using the changeset viewer.