Re: Incomplete Type Bug in g++ 4.3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was mistaken in my original question. It appears this was fixed
between 4.2.4 and 4.3.0 and still could use some help finding it.

On Thu, Feb 12, 2009 at 4:30 PM, Anthony Newnam <anthony@xxxxxxxxx> wrote:
> There is a bug in g++ version 4.3.0 which causes incomplete types to
> be sent to functions by value. In testing today, I found that this was
> fixed in version 4.3.1. Could anyone direct me to where this was fixed
> at? I've been reading through the svn log and diff, but I haven't
> located it, yet.
>
> Here is an example of what should error when compiling, but does not
> using `g++ -c file.cpp` in version 4.3.0.
> struct A;
> void foo(A);
> void bar(A* p){foo(*p);}
>
> Thank you,
> Anthony
>

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux