Changeset 2867 in Sophya for trunk/SophyaLib/BaseTools


Ignore:
Timestamp:
Jan 3, 2006, 3:18:57 PM (20 years ago)
Author:
ansari
Message:

Portage/compilation sur AIX-XlC (regatta) - Reza 3 Jan 2006

Location:
trunk/SophyaLib/BaseTools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/datatype.cc

    r2615 r2867  
    66#include "sopnamsp.h"
    77#include "datatype.h"
     8#include "typeinfo.h"
    89
    910#include <complex>
     
    1314{
    1415}
    15 #if defined(__SGICC__)
     16#if defined(__SGICC__) || defined(__IBMCPP__)
    1617template <class T>
    1718string DataTypeInfo<T>::getTypeName()
     
    116117
    117118#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
     119namespace SOPHYA {
    118120template class DataTypeInfo<uint_1>;
    119121template class DataTypeInfo<uint_2>;
     
    127129template class DataTypeInfo< complex<r_4> >;
    128130template class DataTypeInfo< complex<r_8> >;
     131}
    129132#endif
  • trunk/SophyaLib/BaseTools/fiondblock.cc

    r2805 r2867  
    186186
    187187#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
     188namespace SOPHYA {
    188189// Instances des delegues FileIO (PPersist)
    189190template class FIO_NDataBlock<uint_1>;
     
    198199template class FIO_NDataBlock< complex<r_4> >;
    199200template class FIO_NDataBlock< complex<r_8> >;
     201}
    200202#endif
  • trunk/SophyaLib/BaseTools/machdefs_mkmf.h

    r2615 r2867  
    321321#ifndef ANSI_TEMPLATES
    322322#define ANSI_TEMPLATES
     323#endif
    323324#undef  DECL_TEMP_SPEC
    324325#define DECL_TEMP_SPEC template <>
    325326#endif
     327
     328#if defined(__IBMCPP__)
     329/* IBM xlC compiler support Added : dec 2005 */
     330#ifndef ANSI_TEMPLATES
     331#define ANSI_TEMPLATES
     332#endif
     333#undef  DECL_TEMP_SPEC
     334#define DECL_TEMP_SPEC template <>
    326335#endif
    327336
  • trunk/SophyaLib/BaseTools/ndatablock.cc

    r2657 r2867  
    789789
    790790#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
     791namespace SOPHYA {
    791792template class NDataBlock<uint_1>;
    792793template class NDataBlock<uint_2>;
     
    800801template class NDataBlock< complex<r_4> >;
    801802template class NDataBlock< complex<r_8> >;
     803}
    802804#endif
Note: See TracChangeset for help on using the changeset viewer.