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/array_new.cpp

    r1875 r2118  
    44{ 
    55 
     6#define macrotyperank(_TYPE_,_RANK_)\ 
     7  template<> int CArray<_TYPE_,_RANK_>::TV_ttf_display_type( const CArray<_TYPE_,_RANK_>* array ) \ 
     8  {\ 
     9    return show_TV_ttf_display_type (array) ;\ 
     10  } 
     11 
     12#define macrotype(_TYPE_)\ 
     13macrotyperank(_TYPE_,1)\ 
     14macrotyperank(_TYPE_,2)\ 
     15macrotyperank(_TYPE_,3)\ 
     16macrotyperank(_TYPE_,4)\ 
     17macrotyperank(_TYPE_,5)\ 
     18macrotyperank(_TYPE_,6)\ 
     19macrotyperank(_TYPE_,7) 
     20 
     21macrotype(double) 
     22macrotype(int) 
     23macrotype(bool) 
     24macrotype(size_t) 
     25macrotype(float) 
     26macrotype(string) 
     27 
     28#undef macrotyperank 
     29#undef macrotype 
    630 
    731} 
Note: See TracChangeset for help on using the changeset viewer.