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: EGCS bug report


Josi Miguel Santos Espino wrote:

> Compiler version: EGCS 2.91.66

> error_egcs.cc: In function `int main()':
> error_egcs.cc:16: Internal compiler error 980715.
> error_egcs.cc:16: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
> error_egcs.cc:16: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.

gcc 2.95 compiles this with the following warning,
espino.C:14: warning: ANSI C++ forbids declaration `main' with no type

the executable runs too!

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk


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