This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.4] Incomplete types and template definitions


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 &lt;class X&gt; struct Bar {
+           void bar(Foo, struct Foo* baz)
.......................^^^
I don't think you need this value parameter to tickle the change in behaviour.
+           {
+             baz-&gt;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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]