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

Gdb reports param mismatch for method with no params


  • Subject: Gdb reports param mismatch for method with no params
  • From: Andrew Duncan <email@hidden>
  • Date: Thu, 15 Jul 2004 11:26:53 -0700

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.


  • Follow-Ups:
    • Re: Gdb reports param mismatch for method with no params
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Re: extend existing build settings with build style
  • Next by Date: Re: extend existing build settings with build style
  • Previous by thread: Re: extend existing build settings with build style
  • Next by thread: Re: Gdb reports param mismatch for method with no params
  • Index(es):
    • Date
    • Thread