[Box Backup] Compiliation Error using GCC 3.4.2 on Linux

Martin Ebourne boxbackup@fluffy.co.uk
Fri, 12 Nov 2004 20:03:22 +0000


On Fri, 2004-11-12 at 19:07, Ben Summers wrote:
> The patch Martin posted to the list fixes this -- check out the 
> 0.08PLUS1 version I just posted. It's not dodgy code, it's a bug in the 
> compiler.
> For example, Martin changed
>    Connection(rStream);
> to
>    this->Connection(rStream);
> within a member function, which as I'm sure you'll agree is actually 
> identical code.

Arguably a bug in the language, but not in the compiler:

http://www.dis.com/gnu/gcc/Name-lookup.html

>  There's also another issue in one of the tests where 
> adding brackets around a type (again legal) causes an error. Amusing.

Pretty sure that the standard's never allowed brackets round the type in
a new. Not at work so can't easily check the standard.

Cheers,

Martin.