• 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
compilation error: no matching function for call to
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation error: no matching function for call to


  • Subject: compilation error: no matching function for call to
  • From: Aby <email@hidden>
  • Date: Tue, 15 Aug 2006 14:48:25 +0530

Hi,

  I am porting one application to mac.


//----------------

typedef std::basic_string < wchar_t >				SHWideString;
bool	GetItemsByName( SHWideString& wsItemName, std::list<SHItem*>& INamed );

//----------------


I made one call to the above function in the following way..


//----------------

std::list<SHItem*>	lNamed;

pFmWnd->GetItemsByName( SHWideString(L"ItemSwitch"), lNamed );

//---------------

but the compilation error i am getting is ...

error: no matching function for call to 'GetItemsByName(SHWideString,
std::list<SHItem*, std::allocator<SHItem*> >&)'


could anyone know what could be the problem with the above line for mac, which works fine in windows

Thanking in advance

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


  • Follow-Ups:
    • Re: compilation error: no matching function for call to
      • From: Paul Walmsley <email@hidden>
  • Prev by Date: Re: Xcode/gcc help in enforcing secure coding?
  • Next by Date: Re: compilation error: no matching function for call to
  • Previous by thread: Re: DWARF and separate dSYM problems
  • Next by thread: Re: compilation error: no matching function for call to
  • Index(es):
    • Date
    • Thread