1.8 win32 compile fixes

Nick Shaforostoff shafff at ukr.net
Wed Jul 25 15:29:04 UTC 2012


hi. thanks for releasing a 1.8 beta.

in file taglib\mpc\mpcproperties.cpp please change
log10(d->trackPeak)
to
log10((double)d->trackPeak)

to make it buildable on windows.



also there are few compiler warnings that could be interesting for you:
taglib\mpeg\mpegproperties.cpp(224) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data

taglib\mpeg\id3v2\id3v2tag.cpp(651) : warning C4390: ';' : empty controlled statement found; is this the intent?
( debug() doesnt need ";" in the end)

taglib\toolkit\tstring.cpp(262) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

taglib\toolkit\tfilestream.cpp(95) : warning C4996: '_wfopen': This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.


More information about the taglib-devel mailing list