• 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: Debug: can't view global array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug: can't view global array


  • Subject: Re: Debug: can't view global array
  • From: Bryan Pietrzak <email@hidden>
  • Date: Wed, 10 Nov 2004 11:06:27 -0600


On Nov 10, 2004, at 10:10 AM, Ken Brooks wrote:

Newly updated to Xcode 1.5, these old problems are unchanged:

I have a global variable grid:

Cella grid[Size][Size];

 where Cella is a C++ class, and Size is:

Macro: #define Size 18    /* max size (in cells) of maze */

Now, if in the Expressions window I enter grid, it says <unknown type>
and if I enter grid[1][1] it says "out of scope"

No idea if this is related to the problem or not, but... what kind of app is this? Are you using Carbon? If so, "Size" is a typedef in MacTypes.h and perhaps there's some kind of weird conflict going on. If so, can you use #define kSize 18 instead?


Bryan
_______________________________________________
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: 
 >Debug: can't view global array (From: Ken Brooks <email@hidden>)

  • Prev by Date: Re: internal-error: relocation was not in valid range
  • Next by Date: Re: Debug: can't view global array
  • Previous by thread: Debug: can't view global array
  • Next by thread: Re: Debug: can't view global array
  • Index(es):
    • Date
    • Thread