[mythtv] Ticket #4422: when linking errors occur while loading plugins, the errors are not displayed correctly
Simon Kenyon
simon at koala.ie
Sat Jan 5 15:20:19 UTC 2008
MythTV wrote:
> #4422: when linking errors occur while loading plugins, the errors are not
> displayed correctly
> ------------------------------------+---------------------------------------
> Reporter: bradley.kite at gmail.com | Owner: awithers
> Type: patch | Status: new
> Priority: minor | Milestone: unknown
> Component: mythtv | Version: unknown
> Severity: medium | Resolution:
> Mlocked: 0 |
> ------------------------------------+---------------------------------------
> Changes (by Simon Kenyon <simon at koala.ie>):
>
> * status: closed => new
> * resolution: fixed =>
>
>
> Comment:
>
> methinks this broke the build (well it does on windows)
> here is the error message:
>
> mythplugin.cpp: In member function `int MythPlugin::init(const char*)':
>
> mythplugin.cpp:39: error: call of overloaded `QString(DWORD)' is ambiguous
>
> C:/MSys/1.0/qt-3.3.x-p8/include/qstring.h:409: note: candidates are:
>
> QString::QString(const std::string&) <near match>
>
> C:/MSys/1.0/qt-3.3.x-p8/include/qstring.h:406: note:
>
> QString::QString(const char*) <near match>
>
> C:/MSys/1.0/qt-3.3.x-p8/include/qstring.h:403: note:
>
> QString::QString(const QByteArray&)
>
> C:/MSys/1.0/qt-3.3.x-p8/include/qstring.h:402: note:
>
> QString::QString(const QString&) <near match>
>
> C:/MSys/1.0/qt-3.3.x-p8/include/qstring.h:401: note:
>
> QString::QString(QChar)
>
>
building now on windows with the change suggested on dev by nigel.
i had to:
a) change sprintf to snprintf because there is no sprintf on mingw
b) include <stdio.h> to get the definition of snprintf()
don't know if it works because the build is borked in
libs/libmythtv/importicons.cpp
regards
--
simon
More information about the mythtv-dev
mailing list