On 21/10/2004, at 8:30 AM, Andrew Pinski wrote: > > On Oct 21, 2004, at 11:23 AM, Geoffrey Keating wrote: > >>> http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00800.html >>> Wrong file name in C++ error >> >> Is this still necessary? When I tried your testcase, I got: >> >> test.h: In function `int main()': >> test.h:3: error: `int t::g' is private >> test.cc:8: error: within this context > > Note: >> test.h: In function `int main()': > > The file name is wrong there there which gives a false > sense of where the function is. Doh! I read those error messages twice and still didn't see that. The patch is OK then.