• 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: where have all the IVARS gone? (long time passing...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where have all the IVARS gone? (long time passing...)


  • Subject: Re: where have all the IVARS gone? (long time passing...)
  • From: Bill Bumgarner <email@hidden>
  • Date: Mon, 10 Jul 2006 08:05:38 -0700


On Jul 10, 2006, at 12:35 AM, Chris Suter wrote:

int ivar1;
int ivar1;

int main() {
  return 1;
}

% cc -Wall foo.c
%

No warnings. That seems like a bug to me.

It's not a bug. That's what the C spec. says it should do.

Neat. Why would anyone want that to happen? It seems that the second declaration is, effectively, a no-op.


I have filed a feature request style bug against the compiler.

b.bum

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: where have all the IVARS gone? (long time passing...)
      • From: Sherm Pendley <email@hidden>
References: 
 >RE: where have all the IVARS gone? (long time passing...) (From: Vinay Prabhu <email@hidden>)
 >Re: where have all the IVARS gone? (long time passing...) (From: Bill Bumgarner <email@hidden>)
 >Re: where have all the IVARS gone? (long time passing...) (From: Chris Suter <email@hidden>)

  • Prev by Date: clicking in text
  • Next by Date: [Modertator] Re: Objective-C and it's future
  • Previous by thread: Re: where have all the IVARS gone? (long time passing...)
  • Next by thread: Re: where have all the IVARS gone? (long time passing...)
  • Index(es):
    • Date
    • Thread