Re: Incomplete Type on Pass By Value bug in g++ <4.3.0

2009-02-13 Thread Anthony Newnam
t. On Fri, Feb 13, 2009 at 11:22 AM, Joe Buck wrote: > On Fri, Feb 13, 2009 at 08:53:34AM -0800, Anthony Newnam wrote: >> I asked on gcc-help, but it seems like this list may be more >> appropriate as it deals with the gcc source. >> >> I have noticed that in my g++ &

Incomplete Type on Pass By Value bug in g++ <4.3.0

2009-02-13 Thread Anthony Newnam
I asked on gcc-help, but it seems like this list may be more appropriate as it deals with the gcc source. I have noticed that in my g++ <4.3.0, I am able to compile the following code without any errors: struct A; void foo(A); void bar(A* p){foo(*p);} In g++ 4.3.0 this seems to have been fixed, b