• 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: Objective-C or C++ or something...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C or C++ or something...


  • Subject: Re: Objective-C or C++ or something...
  • From: Marc Weil <email@hidden>
  • Date: Thu, 07 Aug 2003 16:38:07 -0400

Make sure your compiler is set to GCC 3.1 and not GCC 2.95 in PB's build
settings.

- Marc Weil


On 8/7/03 3:58 PM, "Seth Willits" <email@hidden> wrote:

> My compiler either just started, or I just noticed, complaining if I
> declare a variable in the middle of a routine. All of the examples I
> see and the code I have does this, so obviously it's some kind of
> setting, but I can't find it anywhere. Could someone tell me how to fix
> this?
>
> This works:
>
> -(void)blah
> {
> int helloThere;
> NSBeep();
> helloThere = 3;
> }
>
>
>
> This doesn't:
>
> -(void)blah
> {
> NSBeep();
> int helloThere;
> helloThere = 3;
> }
>
>
> Thanks,
>
>
> Seth Willits
> ------------------------------------------------------------------------
> ---
> President and Head Developer of Freak Software - http://www.freaksw.com
> Q&A Columnist for REALbasic Developer Magazine -
> http://www.rbdeveloper.com
> Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames
>
> "One day you'll be wandering through the darkness looking for guidance,
> inspiration, and your purpose in life, and the next you'll turn around
> and realize they've been standing right next to you the whole time."
> -- Seth Willits
> ------------------------------------------------------------------------
> ---
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Objective-C or C++ or something...
      • From: Seth Willits <email@hidden>
References: 
 >Objective-C or C++ or something... (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Objective-C or C++ or something...
  • Next by Date: kAENeverInteract
  • Previous by thread: Re: Objective-C or C++ or something...
  • Next by thread: Re: Objective-C or C++ or something...
  • Index(es):
    • Date
    • Thread