Boost logo

Boost :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2007-03-18 15:32:39


Jürgen,

> I've done a manual test run on CVS Head today and found that
> some spirit test are broken with:
>
> gcc.compile.c++
> /build/bjam/boost_1.35.0/libs/spirit/test/ast_calc_tests.test/
gcc-4.1/debug/ast_calc_tests.o
> /home/hunold/packages/boost/boost/spirit/tree/common.hpp:696: error:
> declaration of 'class T'
> /home/hunold/packages/boost/boost/spirit/tree/common.hpp:682: error:
> shadows template parm 'class T'
>
> I run:
> gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
>
> It seems that this was caused by a commit from Hartmut Kaiser
> last week, r1.26, which introduce a new template parameter "T".

Thanks! I applied your patch to CVS::HEAD. I wonder why I didn't get this
error during my tests...

Regards Hartmut

>
> Please find a simple patch attached.
>
> Yours,
>
> Jürgen
> --
> * Dipl.-Math. Jrgen Hunold ! Ingenieurgesellschaft fr
> * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH
> * fax : ++49 511 262926 99 ! Lister Strae 15
> * juergen.hunold_at_[hidden] ! www.ivembh.de
> *
> * Geschftsfhrer: ! Sitz des Unternehmens: Hannover
> * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965
> * PD Dr.-Ing. Alfons Radtke !
>
>
>
>
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk