iterators+multithreading on win32
Brett Hoyle
kickbits at gmail.com
Sat Mar 19 06:54:48 CET 2011
Ok found the issue:
http://www.devx.com/tips/Tip/14540
Taglib.h line 51 should be:
# define NOMINMAX
# include <windows.h>
This allows it to compile fine under VS 2010.
-----Original Message-----
From: Lukáš Lalinský [mailto:lalinsky at gmail.com]
Sent: Friday, 18 March 2011 8:51 PM
To: taglib-devel at kde.org
Subject: Re: iterators+multithreading on win32
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
> 1>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
_______________________________________________
taglib-devel mailing list
taglib-devel at kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel
More information about the taglib-devel
mailing list