Boost logo

Boost :

From: Kevin Forker (forkerk_at_[hidden])
Date: 2002-11-12 14:51:05

I am actually compiling with gcc version 3.2

-----Original Message-----
From: Edward Diener [mailto:eddielee_at_[hidden]]
Sent: Tuesday, November 12, 2002 2:17 PM
To: boost_at_[hidden]
Subject: [boost] Re: Trying to use FindFiles in RegEx Class

"Kevin Forker" <forkerk_at_[hidden]> wrote in message
> Having trouble creating working FindFiles callback function, need help!
> Here is what I am trying, if anyone can tell me what I am doing wrong it
would be appreciated.
> bool MyFalse(const char*)
> {
> return false;
> }
> int myfunction()
> {
> ,,,,,,
> RegEx expresion;
> .....
> exprestion.FindFile(MyFalse, string);
> }
> I get error:
> no matching function for call to 'boost::RegEx::FindFiles(bool (&) (const
char*), std::string&)'

If you are compiling for VC++ or BCB, is it possible that your function is
not using __cdecl calling convention. If the error is occuring when linking
instead, is it possible that there is some sort of name mangling mismatch
between your Regex++ library when you are building it and when you are using
it ?

Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at