• 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
compiler bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiler bug?


  • Subject: compiler bug?
  • From: Frank Fenn <email@hidden>
  • Date: Fri, 21 Mar 2003 23:55:22 -0700

Hi all,

this is a weird problem.

I've a method: - (IBAction)doDomething:(id)sender where I get the current time with now = time(0); now is of type time_t;
In another method for the same class -(void)doSomethingElse the use of current = time(0); generates the following error
message: called object is not a function

I had to write a normal C-function: time_t getTime() { return time(0); } and call this in "doSomethingElse". Is this a compiler
bug or do I miss something here?

--

regards
Frank Fenn - Bright Light Software
_______________________________________________
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: compiler bug?
      • From: Robert Tillyard <email@hidden>
References: 
 >Re: my first custom view (problems) (From: publiclook <email@hidden>)

  • Prev by Date: Unarchiving fails on NSArray of NSData
  • Next by Date: Using arguments in an NSURL...
  • Previous by thread: Re: my first custom view (problems)
  • Next by thread: Re: compiler bug?
  • Index(es):
    • Date
    • Thread