I just updated my Windows machine with the latest source and did a build.
Under MSVC, it does not like:

static const struct {
        string name;
        double (*fn)(double);
} __fg_snd_fn[] = {
//      {"lin", _fg_lin},
        {"inv", _fg_inv},
        {"abs", _fg_abs},
        {"sqrt", _fg_sqrt},
        {"log", _fg_log10},
        {"ln", _fg_log},
//      {"sqr", _fg_sqr},
//      {"pow3", _fg_pow3},
        {"", NULL}
};

and I got the following errors:

fg_sound.cxx
c:\flightgear\src\sound\fg_sound.cxx(56) : error C2440: 'initializing' :
cannot convert from 'char [4]' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(56) : error C2440: 'initializing' :
cannot convert from '' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(57) : error C2440: 'initializing' :
cannot convert from 'char [4]' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(57) : error C2440: 'initializing' :
cannot convert from '' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(58) : error C2440: 'initializing' :
cannot convert from 'char [5]' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(58) : error C2440: 'initializing' :
cannot convert from '' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(59) : error C2440: 'initializing' :
cannot convert from 'char [4]' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(59) : error C2440: 'initializing' :
cannot convert from '' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(60) : error C2440: 'initializing' :
cannot convert from 'char [3]' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(60) : error C2440: 'initializing' :
cannot convert from '' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(63) : error C2440: 'initializing' :
cannot convert from 'char [1]' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(63) : error C2440: 'initializing' :
cannot convert from 'const int' to 'const struct '
        No constructor could take the source type, or constructor overload
resolution was ambiguous
c:\flightgear\src\sound\fg_sound.cxx(64) : error C2639: compiler generated
default constructor required by unnamed class


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to