#42353: uilib doesn't compile -------------------------------+-------------------------------- Reporter: macports.mexon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | -------------------------------+-------------------------------- Old description:
: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 ^ ~
New description: {{{ :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 ^ ~ }}} -- Comment (by ryandesign@…): Please attach the main.log file. -- Ticket URL: <https://trac.macports.org/ticket/42353#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X