Opened 2 months ago

#70861 new defect

webredirect fails to build: error: ‘std::ostream& incu::operator<<(std::ostream&, const incu::Time&)’ should have been declared inside ‘incu’

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: webredirect

Description

g++ -pipe -Wall -O2 -Iincu   -c -o webredirect.o webredirect.cc
cd incu && /usr/bin/make libincu.a
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webredirect/webredirect/work/webredirect-0.3/incu'
g++ -I. -pipe -g -Wall -O2   -c -o error.o error.cc
g++ -I. -pipe -g -Wall -O2   -c -o socket.o socket.cc
g++ -I. -pipe -g -Wall -O2   -c -o log.o log.cc
g++ -I. -pipe -g -Wall -O2   -c -o system.o system.cc
g++ -I. -pipe -g -Wall -O2   -c -o time.o time.cc
g++ -I. -pipe -g -Wall -O2   -c -o pipe.o pipe.cc
time.cc:4: error: ‘std::ostream& incu::operator<<(std::ostream&, const incu::Time&)’ should have been declared inside ‘incu’
make[1]: *** [time.o] Error 1
make[1]: *** Waiting for unfinished jobs....
socket.cc:60: error: ‘std::ostream& incu::operator<<(std::ostream&, const incu::SockaddrIn&)’ should have been declared inside ‘incu’
make[1]: *** [socket.o] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.