This is the mail archive of the
mailing list for the GCC project.
Re: g++ bug effecting egcs-1.1 release
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: g++ bug effecting egcs-1.1 release
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 23 Aug 1998 01:59:05 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <firstname.lastname@example.org>you write:
> >>>>> Jeffrey A Law <email@example.com> writes:
> > g++ j.C -fno-for-scope
> > j.C: In method `void SSTRINGS::sort()':
> > j.C:326: no matching function for call to `ARRAY::sort (int ()(ARRAY_OBJ
> *, ARRAY_OBJ *))'
> > j.C:270: candidates are: ARRAY::sort(int (*)(const ARRAY_OBJ *, const AR
> RAY_OBJ *))
> There are no implicit conversions between function pointer types in C++.
> g++ used to be much more lax about enforcing that rule. The code is in
> error (but it should be easy to fix).
OK. Thanks. That's precisely what I needed to know.