This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [3.4] Incomplete types and template definitions
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Florian Weimer <fw at deneb dot enyo dot de>
- Cc: gcc at gnu dot org
- Date: Thu, 18 Sep 2003 15:41:42 +0100
- Subject: Re: [3.4] Incomplete types and template definitions
- Organization: Codesourcery LLC
- References: <878yomtczf.fsf@deneb.enyo.de>
Florian Weimer wrote:
The example below results in duplicate error messages. I'm going to
file a separate bug report for that (if it's not known so far)
Not that I know.
+ <pre>
+ struct Foo;
+ template <class X> struct Bar {
+ void bar(Foo, struct Foo* baz)
.......................^^^
I don't think you need this value parameter to tickle the change in behaviour.
+ {
+ baz->foo();
+ }
+ };
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk