This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, With egcs 1.1.2, I got # gcc foo.cc foo.cc:4: warning: declaration of `exit(int)' throws different exceptions foo.cc:3: warning: previous declaration here But with gcc 2.95 19990711, now I got # gcc foo.cc foo.cc:4: declaration of `exit(int)' throws different exceptions foo.cc:3: previous declaration here That is a bug fixed for egcs 1.1.2. Why does it return in gcc 2.95? It will screw up glibc. It has to be fixed in gcc 2.95. -- H.J. Lu (hjl@gnu.org) ---foo.cc- extern "C" { void exit (int); void exit (int) __attribute__ ((__noreturn__)); void exit (int) throw () __attribute__ ((__noreturn__)); };
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |