• 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: Gdb reports param mismatch for method with no params
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gdb reports param mismatch for method with no params


  • Subject: Re: Gdb reports param mismatch for method with no params
  • From: Jim Ingham <email@hidden>
  • Date: Thu, 15 Jul 2004 17:07:00 -0700

No idea. If you have a testcase you can send us, please file a bug and send it on in.

Jim

On Jul 15, 2004, at 11:26 AM, Andrew Duncan wrote:

For this method

  int getImageSize() const { return _bytesPerLine * _height; }

gdb complains when I try to call it:

  (gdb) call retImage->getImageSize()
  One of the arguments you tried to pass to getImageSize could
  not be converted to what the function wants.

Other method calls work fine:

  (gdb) call retImage->getWidth()
  $2 = 1680
  (gdb) call retImage->getHeight()
  $3 = 1050

Any clues as to what's going on?

Andrew
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Gdb reports param mismatch for method with no params (From: Andrew Duncan <email@hidden>)

  • Prev by Date: error: template with C linkage
  • Next by Date: Error while loading modules
  • Previous by thread: Gdb reports param mismatch for method with no params
  • Next by thread: always copying files
  • Index(es):
    • Date
    • Thread