Fix Visual Studio warnings at level /W4 (#2312)

* SharePtr fix for gcc 7.2

* Fix for Poco issue #2285

* Add missing fail() to sqlite test

* Fix for testIllegalFilePath

* Update SQLiteTest.cpp

* fixexes for Visual Studio and /W4 switch

* Fixed warnings for Foundation module

* Fixed warnings for JSON module

* Fixed warnings for XML module

* Fixed warnings for NET module

* Fix unfixable warning in VarHolder.h

* Fix Typo:

* Fixes for Net

* Fixes for Crypto

* Fixes for NetSSL

* Fixes for Zip

* Fixes for PDF

* Fixes for SQLite

* Fixes for SQLite

* Fixes for SQL

* Fixes for MongoDB

* Fixes for Redis

* Fixes for CppParser

* Fixes for CppUnit

* Fixes for PageCompiler

* Fixes for PostgreSQL

* Fixes for MySQL

* Fixes for SevenZip

* Last Warnings

* Fixes for ODBC

* fix std::type_info include
This commit is contained in:
Marian Krivoš
2018-05-04 16:47:40 +02:00
committed by Aleksandar Fabijanic
parent 301b681fa8
commit 42ef846651
161 changed files with 1167 additions and 1135 deletions

View File

@@ -117,7 +117,7 @@ HTTPHeaderInputStream::~HTTPHeaderInputStream()
}
void* HTTPHeaderInputStream::operator new(std::size_t size)
void* HTTPHeaderInputStream::operator new(std::size_t /*size*/)
{
return _pool.get();
}
@@ -156,7 +156,7 @@ HTTPHeaderOutputStream::~HTTPHeaderOutputStream()
}
void* HTTPHeaderOutputStream::operator new(std::size_t size)
void* HTTPHeaderOutputStream::operator new(std::size_t /*size*/)
{
return _pool.get();
}