Re: Calling libmysqlclient C functions from C++
Posted by: Adam Donnison
Date: September 07, 2011 12:51AM

You don't need the extern "C" in your include. If you look at the mysql.h file it already has this test:

#ifdef  __cplusplus
extern "C" {
#endif

Webmaster - http://www.SkySQL.com/

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Calling libmysqlclient C functions from C++
1614
September 07, 2011 12:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.