Changeset 2870 in Sophya


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

Portage/compilation sur AIX-XlC (regatta): Ajout qualification de nom ou namespace SOPHYA pour instanciation explicite de template + correction ambiguite syntaxe new X* [] - Reza 3 Jan 2006

Location:
trunk/SophyaLib/NTools
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/cimage.cc

    r2615 r2870  
    192192
    193193#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
     194namespace SOPHYA {
    194195template class Image<uint_2>;
    195196template class Image<int_4>;
     
    205206template class FIO_Image<r_4>;
    206207template class FIO_Image<r_8>;
    207 
     208}
    208209#endif
  • trunk/SophyaLib/NTools/dynccd.cc

    r2808 r2870  
    176176
    177177#if defined(ANSI_TEMPLATES) || defined(__GNU_TEMPLATES__)
     178namespace SOPHYA {
    178179template Image<uint_2> NoiseImage<uint_2>(Image<uint_2> const& , DynCCD const&);
    179180template Image< int_4> NoiseImage< int_4>(Image< int_4> const& , DynCCD const&);
     
    183184template void ImgAddNoise< int_4>(Image< int_4>&, DynCCD const&);
    184185template void ImgAddNoise<   r_4>(Image<   r_4>&, DynCCD const&);
     186}
    185187#endif
  • trunk/SophyaLib/NTools/fftservintf.cc

    r2615 r2870  
    338338
    339339#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
     340namespace SOPHYA {
    340341template class FFTArrayChecker<r_4>;
    341342template class FFTArrayChecker<r_8>;
     343}
    342344#endif
    343345
  • trunk/SophyaLib/NTools/generaldata.cc

    r2683 r2870  
    11511151
    11521152#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
    1153 template class ObjFileIO<GeneralFitData>;
     1153template class SOPHYA::ObjFileIO<GeneralFitData>;
    11541154#endif
  • trunk/SophyaLib/NTools/objfitter.cc

    r2615 r2870  
    407407
    408408#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
     409namespace SOPHYA {
    409410template class ArrayFitter<int_4>;
    410411template class ArrayFitter<r_4>;
     
    417418template class ImageFitter<r_4>;
    418419template class ImageFitter<r_8>;
     420}
    419421#endif
  • trunk/SophyaLib/NTools/perandom.cc

    r2840 r2870  
    163163   delete[] tabX;
    164164   
    165    ranY = new(FunRan*[nBinX]);
     165   ranY = new FunRan* [nBinX];
    166166   
    167167   for (int_4 k=0; k<nBinX; k++)
     
    187187   ranX = new FunRan(tabX, nBinX);
    188188   
    189    ranY = new(FunRan*[nBinX]);
     189   ranY = new FunRan* [nBinX];
    190190   
    191191   for (int_4 k=0; k<nBinX; k++)
  • trunk/SophyaLib/NTools/poly.cc

    r2808 r2870  
    793793
    794794#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
     795namespace SOPHYA {
    795796template class ObjFileIO<Poly>;
    796797template class ObjFileIO<Poly2>;
     798}
    797799#endif
Note: See TracChangeset for help on using the changeset viewer.