[Bug 294460] New: namespace issue in extra/kipi-plugins/metadataedit/exif/exiflens.cpp

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

[Bug 294460] New: namespace issue in extra/kipi-plugins/metadataedit/exif/exiflens.cpp

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

           Summary: namespace issue in
                    extra/kipi-plugins/metadataedit/exif/exiflens.cpp
           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=68944)
 --> (http://bugs.kde.org/attachment.cgi?id=68944)
patch

Version:           2.5.0 (using KDE 4.8.0)
OS:                Solaris

trying to build digikam 2.5 with the  fails with the below error.
the attached patch fixes it 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/extra/kipi-plugins/metadataedit/exif/exiflens.cpp",
line 328: Error: The function "pow" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exiflens.cpp",
line 353: Error: The function "pow" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exiflens.cpp",
line 410: Error: The function "log" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exiflens.cpp",
line 410: Error: The function "log" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exiflens.cpp",
line 423: Error: The function "log" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exiflens.cpp",
line 423: Error: The function "log" must have a prototype.
6 Error(s) detected.
...
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exifdevice.cpp",
line 496: Warning: data hides QWidget::data.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exifdevice.cpp",
line 543: Error: The function "log" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exifdevice.cpp",
line 715: Error: The function "log" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exifdevice.cpp",
line 715: Error: The function "log" must have a prototype.
...
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/metadataedit/exif/exifdevice.cpp",
line 543: Error: The function "exp" must have a prototype.


Expected Results:  
builds ok

Solaris Studio 12.3 compiler

--
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 294460] namespace issue in extra/kipi-plugins/metadataedit/exif/exiflens.cpp

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





--- Comment #1 from tropikhajma <tropikhajma gmail com>  2012-02-20 00:22:02 ---
Created an attachment (id=68945)
 --> (http://bugs.kde.org/attachment.cgi?id=68945)
patch

--
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 294460] namespace issue in extra/kipi-plugins/metadataedit/exif/exiflens.cpp

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





--- Comment #2 from tropikhajma <tropikhajma gmail com>  2012-02-20 00:33:15 ---
Created an attachment (id=68947)
 --> (http://bugs.kde.org/attachment.cgi?id=68947)
patch

this one for this failure:
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 129: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 130: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 133: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 134: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 160: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 161: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 168: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 169: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 376: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/kipi-plugins/printimages/tools/layouttree.cpp",
line 377: Error: The function "sqrt" must have a prototype.
10 Error(s) detected.

--
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 294460] namespace issue in extra/kipi-plugins/metadataedit/exif/exiflens.cpp [patch]

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


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|Kipiinterface               |MetadataEdit
            Product|digikam                     |kipiplugins
            Summary|namespace issue in          |namespace issue in
                   |extra/kipi-plugins/metadata |extra/kipi-plugins/metadata
                   |edit/exif/exiflens.cpp      |edit/exif/exiflens.cpp
                   |                            |[patch]




--
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 294460] std namespace issue in kipi-plugins [patch]

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


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|MetadataEdit                |general
            Summary|namespace issue in          |std namespace issue in
                   |extra/kipi-plugins/metadata |kipi-plugins [patch]
                   |edit/exif/exiflens.cpp      |
                   |[patch]                     |




--
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 294460] std namespace issue in kipi-plugins [patch]

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


Gilles Caulier <[hidden email]> changed:

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




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

fix namespace issues

M  +2    -2    metadataedit/exif/exifdevice.cpp
M  +4    -4    metadataedit/exif/exiflens.cpp
M  +10   -10   printimages/tools/layouttree.cpp

http://commits.kde.org/kipi-plugins/f4c111ff5bdd5318409c50831f1003df8e740193

--
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 294460] std namespace issue in kipi-plugins [patch]

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


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
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 294460] std namespace issue [patch]

bugzilla_noreply
In reply to this post by Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=294460

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std namespace issue in      |std namespace issue [patch]
                   |kipi-plugins [patch]        |
          Component|general                     |Portability
            Product|kipiplugins                 |digikam
           Assignee|[hidden email]         |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.