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_template_decl.cpp

    r537 r2118  
    1212  template class CAttributeTemplate<CDate> ; 
    1313  template class CAttributeTemplate<CDuration> ; 
     14 
     15#define macrotype(_TYPE_)                                               \ 
     16  template<> int CAttributeTemplate<_TYPE_>::TV_ttf_display_type( const CAttributeTemplate<_TYPE_>* attr ) \ 
     17  {\ 
     18    return show_TV_ttf_display_type (attr) ;\ 
     19  } 
     20 
     21macrotype(double) 
     22macrotype(int) 
     23macrotype(bool) 
     24macrotype(string) 
     25//macrotype(CDate) 
     26//macrotype(CDuration) 
     27#undef macrotype 
     28 
    1429} 
Note: See TracChangeset for help on using the changeset viewer.