public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/2460: sorry, not implemented: `overload' not supported by dump_expr
@ 2001-04-02 12:26 mwbuksas
  0 siblings, 0 replies; only message in thread
From: mwbuksas @ 2001-04-02 12:26 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2460
>Category:       c++
>Synopsis:       sorry, not implemented: `overload' not supported by dump_expr
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 02 12:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Buksas
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
i686-pc-linux-gnu/2.95.2/specs
Red Hat Linux 6.2
>Description:
gcc is confused by overloaded functions used as default
arguments in function definitions. The error suggests that
the ability to distinguish which version of the overloaded
function has been deliberately not implemented, but I
thought I'd bring it to your attention just in case.
>How-To-Repeat:
Compile the included file.
>Fix:
Leave out the defeault argument, or explicitly give the type information for the function argument. 
i.e.: replace the definition of the function with:
void b(void f(double)=(void (*)(double))a){ }
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="error_test.ii"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="error_test.ii"

IyAxICJlcnJvcl90ZXN0LmNjIgp2b2lkIGEoZG91YmxlIHYpIHsgfQp2b2lkIGEoaW50IHYpICAg
IHsgfQoKdm9pZCBiKHZvaWQgZihkb3VibGUpPWEpeyB9CiAKIAoKaW50IG1haW4oKXsgIGIoYSk7
IH0KCgo=


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-02 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-02 12:26 c++/2460: sorry, not implemented: `overload' not supported by dump_expr mwbuksas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).