• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Any compiler warning for default copy constructors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Any compiler warning for default copy constructors? (From: Scott Fraser <email@hidden>)
 >Re: Any compiler warning for default copy constructors? (From: "Clark Cox" <email@hidden>)
 >Re: Any compiler warning for default copy constructors? (From: Steve Baxter <email@hidden>)
 >Re: Any compiler warning for default copy constructors? (From: Paul Walmsley <email@hidden>)

  • Prev by Date: Re: include problems with XCode and frameworks [solved]
  • Next by Date: Re: debugging on Intel macs
  • Previous by thread: Re: Any compiler warning for default copy constructors?
  • Next by thread: Re: Any compiler warning for default copy constructors?
  • Index(es):
    • Date
    • Thread