MySQL Forums
Forum List  »  Connector/C++

Re: c++ and Exlipse
Posted by: Clive Seguna
Date: May 24, 2021 03:01AM

The errors disappear after commenting the check_lib() statement shown below, which is present in the driver.h file. Then it compiles successfully.

Why ??



extern "C"
{

CPPCONN_PUBLIC_FUNC sql::Driver * _get_driver_instance_by_name(const char * const clientlib);

/* If dynamic loading is disabled in a driver then this function works just like get_driver_instance() */
inline static sql::Driver * get_driver_instance_by_name(const char * const clientlib)
{
//check_lib();
return _get_driver_instance_by_name(clientlib);
}

inline static sql::Driver * get_driver_instance()
{
return get_driver_instance_by_name("");
}
}

Options: ReplyQuote


Subject
Views
Written By
Posted
2555
March 03, 2021 12:30AM
961
March 03, 2021 07:55AM
1015
March 03, 2021 08:45AM
1039
March 03, 2021 09:52AM
1686
March 03, 2021 03:54PM
1059
March 04, 2021 03:42AM
899
March 04, 2021 09:06AM
1107
March 04, 2021 09:12AM
1121
March 04, 2021 10:01AM
1065
March 04, 2021 10:29AM
1033
March 04, 2021 11:38AM
1133
March 05, 2021 04:47AM
961
March 07, 2021 09:29AM
1343
May 23, 2021 10:26AM
Re: c++ and Exlipse
1198
May 24, 2021 03:01AM
1082
May 24, 2021 12:46PM
984
May 25, 2021 03:05PM
1060
May 25, 2021 04:32PM
935
May 26, 2021 04:04PM
978
March 26, 2021 01:13AM
953
March 26, 2021 06:17AM


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.