This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bug in egcs-20000524


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]