Incomplete Type Bug in g++ 4.3.0

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

 



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