This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bug in egcs-20000524
- To: gcc-bugs at gcc dot gnu dot org
- Subject: bug in egcs-20000524
- From: Boris Zentner <boris at m2b dot de>
- Date: Thu, 25 May 2000 11:39:53 +0200 (CEST)
c++ -c b.cc
b.cc:14: previous declaration of `xx::xx ()' with C++ linkage
b.cc:18: conflicts with new declaration with C linkage
***********
extern "C"
{
struct xx
{
int x;
xx();
};
xx::xx()
{
x = 0;
}
}
_ _ ----------------------------------------|S: Bullet|
| |__ ___ _ __(_) ___ | proofed |
| '_ \ / _ \| '__| |/ __) ,,, boris@m2b.de | shoes! |
| |_) | (_) | | | |__ \ (o o) | |
|_.__/-___/|_|--|_|(___/-ooO-(_)-Ooo----------------------------------