This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: -Wcloneable ?
- To: tromey at redhat dot com
- Subject: Re: -Wcloneable ?
- From: Per Bothner <per at bothner dot com>
- Date: 16 Jan 2001 13:29:49 -0800
- Cc: Java Discuss List <java-discuss at sourceware dot cygnus dot com>
- References: <87u26z8asn.fsf@creche.redhat.com>
Tom Tromey <tromey@redhat.com> writes:
> Today I thought about implementing a `-Wcloneable' option which would
> cause gcj to warn if a class implements Cloneable but doesn't have a
> public clone() method. Would this be useful?
I don't know. It certainly should not be triggered by -Wall.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/