• 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: Function's default values are corrupted (Nasty bug)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Function's default values are corrupted (Nasty bug)


  • Subject: Re: Function's default values are corrupted (Nasty bug)
  • From: Dave Thorup <email@hidden>
  • Date: Fri, 1 Apr 2005 16:08:15 -0500

On Apr 1, 2005, at 12:35 PM, Dave Thorup wrote:

I've tracked the problem down. It seems that the Template Class that defines SetSize is also an internal class that's defined inside of another class. I hadn't noticed this before since it's all defined in a rather large header file and I wasn't the one who wrote it.

Anyway, here's a simple test case that you're free to try out. I'll have a pre-built project posted to my website soon and then I'll write up a bug report, but just incase anyone else wants to try this out right away here it is. All you need to do is create an instance of CJunkOverlord and that will call SetSize in its constructor.

I'v filed a bug report (#4076562) and uploaded a the test case to my website (http://www.kuwan.net/developer/) where it's named GCC Template Bug. If you want to skip straight to the download then you can get it here:


http://www.kuwan.net/servlets/Download/GccTemplateBug.zip
_____________________________

Dave Thorup
Software Engineer
email@hidden

http://www.kuwan.net
Defaults Manager - The premier editor for Mac OS X's User Defaults / Preferences database.


_______________________________________________
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


  • Follow-Ups:
    • Re: Function's default values are corrupted (Nasty bug)
      • From: Andrew Pinski <email@hidden>
References: 
 >Re: Function's default values are corrupted (Nasty bug) (From: Dave Thorup <email@hidden>)
 >Re: Function's default values are corrupted (Nasty bug) (From: Dave Thorup <email@hidden>)

  • Prev by Date: Re: XCode and gcc - adding include directories
  • Next by Date: Re: Function's default values are corrupted (Nasty bug)
  • Previous by thread: Re: Function's default values are corrupted (Nasty bug)
  • Next by thread: Re: Function's default values are corrupted (Nasty bug)
  • Index(es):
    • Date
    • Thread