This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bug in egcs-20000524
- To: boris at m2b dot de
- Subject: Re: bug in egcs-20000524
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 25 May 2000 10:51:18 -0700
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <Pine.LNX.4.10.10005251137210.15921-100000@peggy.brain.de>
>>>>> "Boris" == Boris Zentner <boris@m2b.de> writes:
Boris> c++ -c b.cc
Boris> b.cc:14: previous declaration of `xx::xx ()' with C++
Boris> linkage b.cc:18: conflicts with new declaration with C
Boris> linkage
Boris> ***********
Boris> extern "C" { struct xx { int x; xx(); };
Boris> xx::xx() { x = 0; } }
This is my fault. I will provide a patch later today.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com