MySQL Forums
Forum List  »  Connector/C++

Warnings from IntelliSense. MYSQL C++/Connector Setup
Posted by: arian aghilipour
Date: June 23, 2020 03:58PM

I installed MYSQL and C++/Connector yesterday. After I added all libs and includes, it worked.

But I am left with these warnings from IntelliSense:


1.Dereferencing NULL pointer 'sess'.

2.The enum type 'mysqlx::abi2::r0::ClientOption::Enum' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). (I got 7 more enum warnings like this one)

3.This kind of function may not throw. Declare it 'noexcept' (f.6). (7 more like this one as well)

4.Variable 'mysqlx::abi2::r0::common::Value::m_val' is uninitialized. Always initialize a member variable (type.6).


Should I try to correct these warnings on my own or continue without concern and wait for future updates instead (lib / h files)

Options: ReplyQuote


Subject
Views
Written By
Posted
Warnings from IntelliSense. MYSQL C++/Connector Setup
198
June 23, 2020 03:58PM


Sorry, only registered users may post in this forum.

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.