Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15904 closed defect (fixed)

headerbrowser does not compile

Reported by: rakesh@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

--->  Building headerbrowser with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_headerbrowser/work/headerbrowser-0.8.3" && make all " returned error 2
Command output: /bin/rm -f headerbrowser main.o *~
rm -rf hbresult-html
rm -rf bin/
cd lib; make
for i in head2xhb styx xhb2html; do cd $i; make; cd ..; done
g++ -Wall -pedantic -I. -I../../include -c head2xhb.cc
../../include/parseheaderfile.hh:31: error: a class-key must be used when declaring a friend
../../include/parseheaderfile.hh:31: error: friend declaration does not name a class or function
make[2]: *** [head2xhb.o] Error 1
g++ -Wall -pedantic -I. -I../../include -c styx_sax.cc
g++ -Wall -pedantic -I. -I../../include -c styx_sax_attr.cc
g++ -Wall -pedantic -I. -I../../include -c styx_dom.cc
g++ -Wall -pedantic -I. -I../../include -c styx_dom_node.cc
styx_dom_node.cc: In member function 'StyxDomNode* StyxDomNode::addAttribute(std::string, std::string)':
styx_dom_node.cc:88: warning: control reaches end of non-void function
g++ -Wall -pedantic -I. -I../../include -c styx_dom_namespace.cc
ar -r libstyx.a styx_sax.o styx_sax_attr.o styx_dom.o styx_dom_node.o styx_dom_namespace.o
ar: creating archive libstyx.a
ranlib libstyx.a
mv libstyx.a ..
g++ -Wall -pedantic -I./html-output-headers -I. -I../../include -c create_functions.cc
../../include/parseheaderfile.hh:31: error: a class-key must be used when declaring a friend
../../include/parseheaderfile.hh:31: error: friend declaration does not name a class or function
make[2]: *** [create_functions.o] Error 1
cd src; make
g++ -Wall -pedantic -I. -I../include -c main.cc
../include/parseheaderfile.hh:31: error: a class-key must be used when declaring a friend
../include/parseheaderfile.hh:31: error: friend declaration does not name a class or function
make[1]: *** [main.o] Error 1
make: *** [default] Error 2

Error: Status 1 encountered during processing.

Change History (3)

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Confirmed.

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

Resolution: fixed
Status: assignedclosed

Fixed in r38313. Thanks for reporting this issue.

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.