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]

bug in egcs-20000524



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


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