How to 'unbreak' re2c port?

Mark admin at asarian-host.net
Thu Apr 2 05:26:07 PDT 2009


Okay, I just upgraded to gcc44 in order to fix what I thought was a

compilation issue with re2c plus a gcc 2.95 compiler. However, gcc44

*still* trips over it! Same deal (see below). So, has ANYONE been able to

compile this port at all?

 

Thanks.

 

- Mark

 

 

==>  Building for re2c-0.13.5

make  all-am

source='code.cc' object='code.o' libtool=no  DEPDIR=.deps depmode=gcc

/bin/sh .../depcomp  c++ -DHAVE_CONFIG_H -I.      -O -pipe -c -o code.o

code.cc

In file included from globals.h:9,

                 from code.cc:11:

stream_lc.h:18: syntax error before `<'

stream_lc.h:29: syntax error before `;'

stream_lc.h:31: syntax error before `<'

stream_lc.h:42: destructors must be member functions

stream_lc.h:42: virtual outside class declaration

stream_lc.h: In function `void basic_null_stream()':

stream_lc.h:42: confused by earlier errors, bailing out

cpp0: output pipe has been closed

*** Error code 1

 

Stop in /usr/ports/devel/re2c/work/re2c-0.13.5.

*** Error code 1

 

Stop in /usr/ports/devel/re2c/work/re2c-0.13.5.

*** Error code 1

 

Stop in /usr/ports/devel/re2c.



More information about the freebsd-questions mailing list