Patch #716

missing header in canonmp.cpp

Added by Pavel Heimlich about 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:23 Jul 2010
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:miscellaneous
Target version:0.21

Description

on opensolaris with sun studio 12u1 the build of exiv2 0.20 fails with the below messages.
The attached patch fixes that by adding the missing std header. Apparently gcc somehow figures that out by itself, but studio needs to have it explicitely.

pkgbuild: /usr/bin/CC -I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -library=no%Cstd -library=Crun -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -s -xdebugformat=dwarf -xlang=c99 -xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -mt -xF=%none -xbuiltin=%all -xinline=%auto -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xalias_level=compatible -KPIC -DPIC -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 -xrestrict=%all -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil -s -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -lc -lm -ldl -lpthread -lposix4 -lrt -mt -Y P,/opt/kde4/lib -i -L/opt/kde4/lib -R/opt/kde4/lib -L/usr/lib -R/usr/lib -Bdynamic -lstdcxx4 -lCrun -lc -lm -library=no%Cstd -xldscope=hidden -I. -D_REENTRANT -DNDEBUG -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5 -I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -I/opt/kde4/include -DEXV_LOCALEDIR=\"/opt/kde4/share/locale\" -I../xmpsdk/include -c -DEXV_BUILDING_LIB=1 canonmn.cpp -KPIC -DPIC -o .libs/canonmn.o
pkgbuild: "value.hpp", line 989: Warning: declarator required in declaration.
pkgbuild: "canonmn.cpp", line 976: Error: dec is not a member of std.
pkgbuild: "canonmn.cpp", line 987: Error: dec is not a member of std.
pkgbuild: "canonmn.cpp", line 1013: Error: fixed is not a member of std.
pkgbuild: "canonmn.cpp", line 1040: Error: hex is not a member of std.
pkgbuild: "canonmn.cpp", line 1042: Error: dec is not a member of std.
pkgbuild: "canonmn.cpp", line 1092: Error: fixed is not a member of std.
pkgbuild: "canonmn.cpp", line 1139: Error: fixed is not a member of std.

exiv2-ios.diff Magnifier - patch (272 Bytes) Pavel Heimlich, 23 Jul 2010 17:42

exiv2-ios.diff.1 - updated patch (567 Bytes) Pavel Heimlich, 23 Jul 2010 17:49

Associated revisions

Revision 2301
Added by Andreas Huggel about 7 years ago

#716: Added missing #include <ios>, needed for Sun Studio compiler (patch by Pavel Heimlich).

History

#1 Updated by Pavel Heimlich about 7 years ago

same in convert.cpp

#2 Updated by Andreas Huggel about 7 years ago

  • Category set to miscellaneous
  • Status changed from New to Resolved
  • Target version set to 0.21
  • % Done changed from 0 to 100

Patch applied with r2301, thank you!

#3 Updated by Andreas Huggel almost 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux