• 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
Wierd prototype errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wierd prototype errors


  • Subject: Wierd prototype errors
  • From: Richard Schreyer <email@hidden>
  • Date: Tue, 16 Apr 2002 23:05:16 -0700

In my project, I'm getting a lot of warnings like the following:

warning: passing arg 1 of `setAllowsUserCustomization:' with different width due to prototype
warning: passing arg 4 of `NSMakeRect' as `float' rather than `double' due to prototype
warning: passing arg 2 of `setFrame:display:animate:' with different width due to prototype

whenever I use any basic types, like BOOL, int float, etc. The types I'm sending in these methods ARE correct.

These warnings only occur in the ObjC files of a largely ObjC++ project.

Any ideas?
Richard Schreyer
_______________________________________________
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.

  • Prev by Date: Re: A very weird problem
  • Next by Date: Re: [me needsHelpWith:prefPanes];
  • Previous by thread: Re: How can you get an app to launch without showing its Icon?!
  • Next by thread: NSTextField/NSDateField?
  • Index(es):
    • Date
    • Thread