[galib] Compile error C2906 in VC++.NET

daniel.kozelj@kiss.si daniel.kozelj at kiss.si
Mon Nov 22 06:48:33 EST 2004


Hello,

I got the following compile error while building the galib242 in VC++ .NET:

Compiling...
GAString.cpp
d:\Moji_dokumenti\Daniel\Visual Studio Projects\IMMe\galib242
\headers\GAString.cpp(48) : error 
C2906: 'GA1DArrayAlleleGenome<T>::~GA1DArrayAlleleGenome(void)' : explicit 
specialization requires 'template <>'
        with
        [
            T=char
        ]
GARealGe.cpp
d:\Moji_dokumenti\Daniel\Visual Studio Projects\IMMe\galib242
\headers\GARealGe.cpp(48) : error 
C2906: 'GA1DArrayAlleleGenome<T>::~GA1DArrayAlleleGenome(void)' : explicit 
specialization requires 'template <>'
        with
        [
            T=float
        ]
Generating Code...

Build log was saved at "file://d:\Moji_dokumenti\Daniel\Visual Studio 
Projects\IMMe\Debug\BuildLog.htm"
IMMe - 2 error(s), 0 warning(s)

If anybody knows how to eliminate the two errors regarding explicit 
specialization with templates, please let me know.

Many thanks.


________________________
:| kiss - http://kiss.si



More information about the galib mailing list