Boost logo

Boost :

From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2007-03-18 14:24:07


Hi !

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".

Please find a simple patch attached.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! 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