On Tue, 28 Dec 1999, David O'Brien wrote:

> > Perhaps a later snapshot of gcc will work .
> 
> GCC 2.95.2 is a *RELEASED* version.  We don't use snapshots as the base
> compiler.  What every the problem is 4.0 will live with it unless someone
> narrows down the problem more.

The latest Polygraph (ver 2.2.8) proxy-cache benchmarking source 
(Available at http://www.ircache.net/Polygraph/) does not
compile on my very recent 4.0 system.  (rebuilding world now...)

I get this error, after dl'ing polygraph-2.2.8-src.tar.gz, running
'configure', then running 'make':

...
c++ -g -O3 -Wall -Wwrite-strings -Woverloaded-virtual -Iinclude
-Ixstd/include -Ipgl/include -Ixparser/include  -I..  -DHAVE_CONFIG_H -c
Connection.cc
In file included from include/PortMgr.h:29,
                 from Connection.cc:33:
include/LevelStat.h:55: invalid type `const char[1]' for default argument
to `const String &'
*** Error code 1

Stop in /usr/home/andyf/src/polygraph/src.
*** Error code 1

Stop in /usr/home/andyf/src/polygraph.


The "offending" code looks like this:

    ostream &print(ostream &os, const String &pfx = "") const;

When I did a 'touch Connection.o ; make' it compiled another source file
that included PortMgr.h / LevelStat.h just fine, but bombed out elsewhere!

> 
> -- 
> -- David    ([EMAIL PROTECTED])
> 

--
 
 :{ [EMAIL PROTECTED]
  
        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/
  




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to