[Bug 294458] New: namespace issue in extra/libkface/test/gui/faceitem.cpp

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

[Bug 294458] New: namespace issue in extra/libkface/test/gui/faceitem.cpp

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

           Summary: namespace issue in
                    extra/libkface/test/gui/faceitem.cpp
           Product: digikam
           Version: 2.5.0
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Face Management
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


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

Version:           2.5.0 (using KDE 4.8.0)
OS:                Solaris

When building digikam 2.5 with the Solaris Studio 12.3 compiler, the below
error is produced.
The attached patch made it go away for me. Also using qSqrt works.

Reproducible: Always

Steps to Reproduce:
try to build digikam

Actual Results:  
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/libkface/test/gui/faceitem.cpp",
line 268: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/libkface/test/gui/faceitem.cpp",
line 268: Error: The function "sqrt" must have a prototype.


Expected Results:  
builds fine

--
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 294458] Std namespace issue in libkface [patch]

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


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|Face Management             |libkface
            Summary|namespace issue in          |Std namespace issue in
                   |extra/libkface/test/gui/fac |libkface [patch]
                   |eitem.cpp                   |




--
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 294458] Std namespace issue in libkface [patch]

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


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2012-02-20 08:13:27 ---
Git commit a3046c55adfa102ca134531f21ccf499cbd9143c by Gilles Caulier.
Committed on 20/02/2012 at 09:12.
Pushed by cgilles into branch 'master'.

fix compilation under Solaris

M  +1    -1    test/gui/faceitem.cpp

http://commits.kde.org/libkface/a3046c55adfa102ca134531f21ccf499cbd9143c

--
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 294458] Std namespace issue in libkface [patch]

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.6.0

--
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