Boost logo

Boost :

From: Richard Hadsell (hadsell_at_[hidden])
Date: 2002-07-17 13:56:59


Douglas Gregor wrote:
>
> I'm not sure the macro name is appropriate, because at least on GCC 2.99.3 the
> problem is unrelated to templates. Removing all of the templates from the
> example, GCC 2.95.3 emits the error:
>
> cannot adjust access to `static void test_base::f()' in `struct test_using'
> because of local method `static double test_using::f(double)' with same name
>
> The problem is that it can't overload a name introduced in the class and
> brought in via a using declaration. Maybe
> BOOST_NO_USING_DECLARATION_OVERLOADS?
>
> (I didn't check the reason for the failure on MSVC)

FYI, in case someone is fixing up boost/config/compiler/gcc.hpp, g++ 2.91.66
(egcs-1.1.2 release) has the same problem, so you can assume it wasn't a
temporary bug.

-- 
Dick Hadsell			914-259-6320  Fax: 914-259-6499
Reply-to:			hadsell_at_[hidden]
Blue Sky Studios                http://www.blueskystudios.com
44 South Broadway, White Plains, NY 10601

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