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]

c++/2204: G++ don't check (member) function parameter for abstract-ness.



>Number:         2204
>Category:       c++
>Synopsis:       G++ don't check (member) function parameter for abstract-ness.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          accepts-illegal
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 07 05:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Gabriel Dos Reis
>Release:        gcc-2.95.x and gcc-3_0-branch are affected.
>Organization:
>Environment:
Plateform independent.
>Description:
The program construct is ill-formed and should be
diagnosed as per 10.4/3. 

-- Gaby
>How-To-Repeat:
struct X {
  virtual void f() = 0;
  void g(X) { }
};
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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