MySQL Forums
Forum List  »  Connector/C++

variant.h error with MySQl c++ CONNECTOR
Posted by: Jim Gerland
Date: May 11, 2023 02:04PM

I installed connector 8.0
when I try to run a c++ program in Visual Studio 22, I get:

Severity Code Description Project File Line Suppression State
Warning C26495 Variable 'sql::Variant::variant' is uninitialized. Always initialize a member variable (type.6). mysql_dev C:\Program Files\MySQL\Connector C++ 8.0\include\jdbc\cppconn\variant.h 298

Any help is appreciated.
Thanks,
Jim...

Options: ReplyQuote


Subject
Views
Written By
Posted
variant.h error with MySQl c++ CONNECTOR
455
May 11, 2023 02:04PM


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.