• 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: Newbie Question - #include scope
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Question - #include scope


  • Subject: Re: Newbie Question - #include scope
  • From: "Mark Wagner" <email@hidden>
  • Date: Wed, 10 Dec 2008 15:52:59 -0800

On Wed, Dec 10, 2008 at 12:22, Steve Checkoway <email@hidden> wrote:
> On Wed, Dec 10, 2008 at 11:19:08AM -0800, Gil Dawson wrote:
>> I made up a little project to demonstrate this thing.  The project
>> contains three files (listed below); "test.c" #includes the other two.
>> The first #included file declares a global variable, MyData, and sets it.
>>  The second #included file uses that variable.
>
> This isn't an Xcode question, it's a C question.

According to the C standard, the code should compile without problems.
 Since it doesn't, it's a problem with Xcode.

What does the build transcript say?  In the "Build Results" window,
click on the little button in the middle of the window with four lines
on it (right next to the button with the exclamation point) to show
the transcript, then copy-and-paste it into an email.

--
Mark Wagner
 _______________________________________________
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: Newbie Question - #include scope
      • From: Jeremy Pereira <email@hidden>
    • Re: Newbie Question - #include scope
      • From: Steve Checkoway <email@hidden>
References: 
 >Newbie Question - #include scope (From: Gil Dawson <email@hidden>)
 >Re: Newbie Question - #include scope (From: Steve Checkoway <email@hidden>)

  • Prev by Date: RE: Which SDK is recommended when doing both Mac and iPhone development?
  • Next by Date: Re: Newbie Question - #include scope
  • Previous by thread: Re: Newbie Question - #include scope
  • Next by thread: Re: Newbie Question - #include scope
  • Index(es):
    • Date
    • Thread