This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g++-2.95 compiler error
- To: gcc-bugs at gcc dot gnu dot org
- Subject: g++-2.95 compiler error
- From: Igor Sheyn <sheyn at cs dot bu dot edu>
- Date: Sun, 1 Aug 1999 19:55:46 -0400 (EDT)
Hi,
here's a small program which g++ 2.8.1 compiles ( albeit
with a warning ) and g++ 2.95 doesn't:
------------------------------------snip------------------------------------
#include <stdio.h>
int incr(int i){return ++i;}
main()
{
int (*dummy)(...);
dummy=incr;
(void)printf("%d\n",dummy(1));
return(0);
}
------------------------------------snip------------------------------------
% g++ xyu.c
xyu.c:8: sorry, not implemented: `tree_list' not supported by dump_type
xyu.c: In function `int main()':
xyu.c:8: ANSI C++ prohibits conversion from `()' to `(...)'
Correct me if I'm wrong, but I believe submitting a complete bug report
here is not necessary.
Thanks
Igor