Opened 11 years ago

Closed 5 years ago

#42353 closed defect (fixed)

iulib: error: default arguments cannot be added to a function template that has already been declared

Reported by: macports.mexon@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: r01@…, victor.roig@…, larryv (Lawrence Velázquez)
Port: iulib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

:info:build g++ -o imglib/imgtrace.os -c -g -fPIC -fPIC -I. -Icolib -Iimglib -Iimgio -Iimgbits -Iutils -Icomponents -Ividio -I/opt/local/include imglib/imgtrace.cc
:info:build In file included from imglib/imgtrace.cc:35In file included from imglib/imgops.cc::
:info:build In file included from ./colib/colib.h:37:
:info:build colib/env.h:36:17: warning: using directive refers to implicitly-defined namespace 'std'
:info:build 35:
:info:build In file included from ./colib/colib.h:37:
:info:build colib/env.h:36:17: warning: using directive refers to implicitly-defined namespace 'std'
:info:build using namespace std;
:info:build                 ^
:info:build using namespace std;
:info:build                 ^
:info:build imglib/imgops.cc:136:15: error: default arguments cannot be added to a function template that has already been declared
:info:build             V scale=1,int dx=0,int dy=0) {
:info:build               ^     ~

Attachments (2)

main.log (7.6 KB) - added by macports.mexon@… 11 years ago.
main.2.log (14.6 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Please attach the main.log file.

Changed 11 years ago by macports.mexon@…

Attachment: main.log added

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Port: iulib added
Summary: uilib doesn't compileiulib: error: default arguments cannot be added to a function template that has already been declared

The log you attached is incomplete but I can reproduce the problem so I attached my complete log.

The port is already using the latest version of the software, so please report the problem to the developer of the software so they can correct it. Once they do, we can update the port to the new version.

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.2.log added

comment:3 Changed 11 years ago by macports.mexon@…

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: r01@… added

Has duplicate #43236.

comment:5 in reply to:  3 ; Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: victor.roig@… added

Has duplicate #49980.

Replying to macports.mexon@…:

Reported as https://code.google.com/p/iulib/issues/detail?id=45

Unfortunately the project appears to have migrated from Google Code to GitHub, to have installed automatic redirects so that the old Google Code pages are no longer accessible, and not to have migrated any issues to the new issue tracker. I can't find this issue in the Wayback Machine either. There don't appear to be any changes in the GitHub repository since then that relate to fixing this problem. Would you or someone please file an issue in their new issue tracker at GitHub and add the URL to this ticket?

comment:6 in reply to:  5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

Would you or someone please file an issue in their new issue tracker at GitHub and add the URL to this ticket?

https://github.com/tmbdev/iulib/issues/2

comment:7 Changed 8 years ago by larryv (Lawrence Velázquez)

Cc: larryv added

comment:8 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In dea34f32fc728ebcb67aa507a8e0efaba0f21988/macports-ports (master):

iulib: Fix build failure

Closes: #42353

Note: See TracTickets for help on using tickets.