[fprint] [PATCH] Add C++ guards to take care of C++ name-mangling.

Kunal Gangakhedkar kunal.gangakhedkar at gmail.com
Wed Sep 8 12:25:55 BST 2010


On Wednesday 08 Sep 2010 3:34:41 pm Bastien Nocera wrote:
> On Wed, 2010-09-08 at 12:13 +0530, Kunal Gangakhedkar wrote:
> > The libfprint library is generally built with C calling conventions.
> > Which makes it difficult to link to C++ programs as it is.
> > 
> > This patch adds the support for linking with C++ code - by telling the C++
> > compiler to use C calling conventions for libfprint functions.
> > 
> > Reported-by: Guus Ellenkamp <guus at activediscovery.net>
> > Signed-off-by: Kunal Gangakhedkar <kunal.gangakhedkar at gmail.com>
> 
> Pushed, along with a test program for that.
> 
> 

Thanks a lot :)
 
Kunal


More information about the fprint mailing list