Created attachment 68944 [details] 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
Created attachment 68945 [details] patch
Created attachment 68947 [details] 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.
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