[Bug 294461] New: build failure in picasawebexport - qstring ambiguity

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 294461] New: build failure in picasawebexport - qstring ambiguity

Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=294461

           Summary: build failure in  picasawebexport - qstring ambiguity
           Product: digikam
           Version: 2.5.0
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Kipiinterface
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Created an attachment (id=68946)
 --> (http://bugs.kde.org/attachment.cgi?id=68946)
patch

Version:           2.5.0 (using KDE 4.8.0)
OS:                Solaris

build fails with the below errors.
the attached patch worked for me

Reproducible: Always

Steps to Reproduce:
try to build digikam

Actual Results:  
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 82: Error: Overloading ambiguity between "QString::QString(const QChar*)"
and "QString::QString(const char*)".
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 82: Error: Cannot use int to initialize const QString.
Warning: A reference return value should be an lvalue (if the value of this
function is used, the result is unpredictable).
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Overloading ambiguity between "QString::QString(const QChar*)"
and "QString::QString(const char*)".
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Cannot use int to initialize const QString.
Warning: A reference return value should be an lvalue (if the value of this
function is used, the result is unpredictable).
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Overloading ambiguity between "QString::QString(const QChar*)"
and "QString::QString(const char*)".
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Cannot use int to initialize const QString.
Warning: A reference return value should be an lvalue (if the value of this
function is used, the result is unpredictable).
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Overloading ambiguity between "QString::QString(const QChar*)"
and "QString::QString(const char*)".
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Cannot use int to initialize const QString.
Warning: A reference return value should be an lvalue (if the value of this
function is used, the result is unpredictable).
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 82: Error: Overloading ambiguity between "QString::QString(const QChar*)"
and "QString::QString(const char*)".
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 82: Error: Cannot use int to initialize const QString.
Warning: A reference return value should be an lvalue (if the value of this
function is used, the result is unpredictable).
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Overloading ambiguity between "QString::QString(const QChar*)"
and "QString::QString(const char*)".
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Cannot use int to initialize const QString.
Warning: A reference return value should be an lvalue (if the value of this
function is used, the result is unpredictable).
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Overloading ambiguity between "QString::QString(const QChar*)"
and "QString::QString(const char*)".
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Cannot use int to initialize const QString.
Warning: A reference return value should be an lvalue (if the value of this
function is used, the result is unpredictable).
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Overloading ambiguity between "QString::QString(const QChar*)"
and "QString::QString(const char*)".
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/build/extra/kipi-plugins/picasawebexport/../../../../extra/kipi-plugins/picasawebexport/picasawebtalker.h",
line 79: Error: Cannot use int to initialize const QString.
Warning: A reference return value should be an lvalue (if the value of this
function is used, the result is unpredictable).
16 Error(s) and 8 Warning(s) detected.

Expected Results:  
builds ok

Solaris Studio 12.3

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 294461] build failure in picasawebexport - qstring ambiguity

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=294461


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|Kipiinterface               |PicasaWeb
            Product|digikam                     |kipiplugins




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 294461] build failure in picasawebexport - qstring ambiguity

Gilles Caulier-4
In reply to this post by Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=294461


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|[hidden email]       |[hidden email]




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel