Re: Any compiler warning for default copy constructors?
Re: Any compiler warning for default copy constructors?
- Subject: Re: Any compiler warning for default copy constructors?
- From: "Clark Cox" <email@hidden>
- Date: Thu, 23 Feb 2006 07:51:48 -0500
On 2/23/06, Paul Walmsley <email@hidden> wrote:
> Doesn't gcc also have a warning if you don't declare a copy constructor
> but your class contains a pointer member? I'm sure I've seen that very
> useful warning a few times.
Yes, that's included in the flag that Chris and I mentioned.
("-Weffc++" / "Effective C++ Violations")
--
Clark S. Cox III
email@hidden
My CV/Resume:
http://homepage.mac.com/clarkcox3/files/Resume.pdf
http://homepage.mac.com/clarkcox3/files/Resume.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden