Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Apr 2009 12:26:04 GMT
From:      Mark <admin@asarian-host.net>
To:        <freebsd-questions@freebsd.org>
Subject:   How to 'unbreak' re2c port?
Message-ID:  <200904021226.n32CQ4bo029296@asarian-host.net>

next in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904021226.n32CQ4bo029296>