Remove unnecessary MSVC pragma disabling C4312 from ODBC/DB2

This warning is not given any more, so there is no need to suppress it.
This commit is contained in:
Vadim Zeitlin
2025-06-08 00:30:10 +02:00
parent bdc9798333
commit 5e340d8348
2 changed files with 0 additions and 15 deletions

View File

@@ -16,14 +16,6 @@
#include <ctime>
#include <sstream>
#ifdef _MSC_VER
// disables the warning about converting int to void*. This is a 64 bit compatibility
// warning, but odbc requires the value to be converted on this line
// SQLSetStmtAttr(statement_.hstmt_, SQL_ATTR_PARAMSET_SIZE, (SQLPOINTER)arraySize, 0);
#pragma warning(disable:4312)
#endif
using namespace soci;
using namespace soci::details;

View File

@@ -18,13 +18,6 @@
#include <ctime>
#include <sstream>
#ifdef _MSC_VER
// disables the warning about converting int to void*. This is a 64 bit compatibility
// warning, but odbc requires the value to be converted on this line
// SQLSetStmtAttr(statement_.hstmt_, SQL_ATTR_PARAMSET_SIZE, (SQLPOINTER)arraySize, 0);
#pragma warning(disable:4312)
#endif
using namespace soci;
using namespace soci::details;