iterators+multithreading on win32

Lukáš Lalinský lalinsky at gmail.com
Fri Mar 18 11:20:43 CET 2011


On Fri, Mar 18, 2011 at 9:26 AM, Brett Hoyle <kickbits at gmail.com> wrote:
> Since these commits taglib no longer can compile under Visual Studio 2010.
>
> \Taglib\riff\rifffile.cpp line 175
> 1>..\riff\rifffile.cpp(175): error C2589: '(' : illegal token on right side
> of '::'
> 1>..\riff\rifffile.cpp(175): error C2059: syntax error : '::'
>
> Issue is std::max "Error: expected an identifier"
>
>
> Seems to be related to the include of windows.h in \taglib\toolkit\taglib.h
> on line 51

We probably relied on some header file to include <algorithm>. Can you
please try to check if adding #include <algorithm> to rifffile.cpp
fixes the problem?

Lukas


More information about the taglib-devel mailing list