headerbrowser does not compile
---> 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)
Owner: |
changed from macports-tickets@… to ryandesign@…
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Confirmed.