Build errors with GMock

Mark Kretschmann kretschmann at kde.org
Fri Dec 13 05:58:41 UTC 2013


Erm, I meant s/Clang 1.7/GMock 1.7

On Fri, Dec 13, 2013 at 6:57 AM, Mark Kretschmann <kretschmann at kde.org> wrote:
> Hey all,
>
> lately I'm getting strange errors when building Git master with unit
> tests. At first I thought it was just my configuration (GMock 1.6,
> Clang), but now another user on IRC confirmed the same, but with GCC
> and Clang 1.7. Complete compile log attached.
>
> In file included from
> /home/mark/Devel/src/amarok/tests/TestTrackOrganizer.cpp:28:
> In file included from /home/mark/Devel/src/amarok/tests/mocks/MockTrack.h:20:
> In file included from /usr/include/gmock/gmock.h:58:
> In file included from /usr/include/gmock/gmock-actions.h:46:
> /usr/include/gmock/internal/gmock-internal-utils.h:308:3: error: expected '}'
>   kWarning = 1
>   ^
> /usr/include/kdebug.h:322:28: note: expanded from macro 'kWarning'
> # define kWarning    KDebug(QtWarningMsg, __FILE__, __LINE__, Q_FUNC_INFO)
>                            ^
> /usr/include/gmock/internal/gmock-internal-utils.h:306:18: note: to
> match this '{'
> enum LogSeverity {
>                  ^
> --
> Mark Kretschmann
> Amarok Developer
> Fellow of the Free Software Foundation Europe
> http://amarok.kde.org - http://fsfe.org



-- 
Mark Kretschmann
Amarok Developer
Fellow of the Free Software Foundation Europe
http://amarok.kde.org - http://fsfe.org


More information about the Amarok-devel mailing list