ice icon indicating copy to clipboard operation
ice copied to clipboard

Numerous IntelliSense C++ warnings

Open externl opened this issue 4 years ago • 1 comments

IntelliSense in Visual Studio shows several warnings that we should fix:


Severity | Code | Description | Project | File | Line | Suppression State | Suppression State
-- | -- | -- | -- | -- | -- | -- | --
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Glacier2\PermissionsVerifier.h | 98 |   |  
Warning | C26495 | Variable 'Glacier2::PermissionsVerifier::CheckPermissionsResult::returnValue' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Glacier2\PermissionsVerifier.h | 196 |   |  
Warning | C26495 | Variable 'Glacier2::SSLPermissionsVerifier::AuthorizeResult::returnValue' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Glacier2\PermissionsVerifier.h | 268 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Glacier2\Session.h | 107 |   |  
Warning | C26495 | Variable 'Glacier2::SSLInfo::localPort' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Glacier2\SSLInfo.h | 101 |   |  
Warning | C26495 | Variable 'Glacier2::SSLInfo::remotePort' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Glacier2\SSLInfo.h | 101 |   |  
Warning | C26495 | Variable 'IceMX::MetricsAdmin::GetMetricsViewResult::timestamp' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 275 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 362 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 445 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 515 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 585 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 647 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 696 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 747 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 750 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 751 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\generated\cpp11\Win32\Debug\Ice\Metrics.h | 819 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\IceSSL\ConnectionInfo.h | 96 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\IceSSL\ConnectionInfo.h | 96 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\IceSSL\ConnectionInfo.h | 96 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\IceSSL\ConnectionInfo.h | 97 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\IceSSL\ConnectionInfo.h | 98 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\IceSSL\EndpointInfo.h | 59 |   |  
Warning | C26812 | The enum type 'IceUtil::MutexProtocol' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\IceUtil\Mutex.h | 123 |   |  
Warning | C26115 | Failing to release lock 'this->_mutex' in function 'IceUtil::Mutex::lock'. | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\IceUtil\Mutex.h | 154 |   |  
Warning | C26115 | Failing to release lock 'this->_mutex' in function 'IceUtil::Mutex::tryLock'. | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\IceUtil\Mutex.h | 174 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Communicator.h | 499 |   |  
Warning | C26495 | Variable 'Ice::ConnectionInfo::incoming' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 223 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 238 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 240 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 241 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 385 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 442 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 546 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 546 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 546 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 547 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 549 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 607 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 607 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 607 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 607 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 607 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 661 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 661 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 661 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 661 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 661 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 662 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 713 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 713 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 713 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Connection.h | 714 |   |  
Warning | C26495 | Variable 'Ice::Current::encoding' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Current.h | 96 |   |  
Warning | C26495 | Variable 'Ice::Current::mode' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Current.h | 96 |   |  
Warning | C26495 | Variable 'Ice::Current::requestId' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Current.h | 96 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 148 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 243 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 244 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 246 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 292 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 292 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 292 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 327 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 327 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 327 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 328 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 368 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 369 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 406 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 407 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Endpoint.h | 408 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\ExceptionHelpers.h | 62 |   |  
Warning | C26495 | Variable 'Ice::InputStream::EncapsDecoder10::_skipFirstSlice' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1311 |   |  
Warning | C26495 | Variable 'Ice::InputStream::EncapsDecoder10::_sliceSize' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1311 |   |  
Warning | C26812 | The enum type 'Ice::InputStream::SliceType' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1314 |   |  
Warning | C26495 | Variable 'Ice::InputStream::EncapsDecoder11::InstanceData::compactId' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1382 |   |  
Warning | C26495 | Variable 'Ice::InputStream::EncapsDecoder11::InstanceData::skipFirstSlice' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1382 |   |  
Warning | C26495 | Variable 'Ice::InputStream::EncapsDecoder11::InstanceData::sliceFlags' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1382 |   |  
Warning | C26495 | Variable 'Ice::InputStream::EncapsDecoder11::InstanceData::sliceSize' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1382 |   |  
Warning | C26495 | Variable 'Ice::InputStream::EncapsDecoder11::InstanceData::sliceType' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1382 |   |  
Warning | C26495 | Variable 'Ice::InputStream::Encaps::encoding' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1438 |   |  
Warning | C26495 | Variable 'Ice::InputStream::Encaps::sz' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\InputStream.h | 1438 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 91 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 151 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 262 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 263 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 338 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 339 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 409 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 520 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 586 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 650 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 793 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 855 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 914 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 975 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1035 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1095 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1155 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1215 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1274 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1334 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1398 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1399 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1400 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1470 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1470 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1470 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1527 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1527 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1527 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1585 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1585 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1585 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1761 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 1822 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2047 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2411 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2472 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2473 |   |  
Warning | C26495 | Variable 'Ice::UnsupportedProtocolException::bad' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2520 |   |  
Warning | C26495 | Variable 'Ice::UnsupportedProtocolException::supported' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2520 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2534 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2535 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2536 |   |  
Warning | C26495 | Variable 'Ice::UnsupportedEncodingException::bad' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2587 |   |  
Warning | C26495 | Variable 'Ice::UnsupportedEncodingException::supported' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2587 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2601 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2602 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2603 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2666 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2721 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2776 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2830 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2891 |   |  
Warning | C26495 | Variable 'Ice::ConnectionManuallyClosedException::graceful' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 2935 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3007 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3061 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3118 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3172 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3226 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3280 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3340 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3341 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3409 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3410 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3411 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3476 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3531 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3585 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3641 |   |  
Warning | C26478 | Don't use std::move on constant variables. (es.56). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\LocalException.h | 3701 |   |  
Warning | C26495 | Variable 'Ice::Object::Ice_invokeResult::returnValue' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Object.h | 179 |   |  
Warning | C26495 | Variable 'Ice::OutputStream::EncapsEncoder10::_writeSlice' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\OutputStream.h | 949 |   |  
Warning | C26812 | The enum type 'Ice::OutputStream::SliceType' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\OutputStream.h | 950 |   |  
Warning | C26495 | Variable 'Ice::OutputStream::EncapsEncoder11::InstanceData::firstSlice' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\OutputStream.h | 1005 |   |  
Warning | C26495 | Variable 'Ice::OutputStream::EncapsEncoder11::InstanceData::sliceFlags' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\OutputStream.h | 1005 |   |  
Warning | C26495 | Variable 'Ice::OutputStream::EncapsEncoder11::InstanceData::sliceFlagsPos' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\OutputStream.h | 1005 |   |  
Warning | C26495 | Variable 'Ice::OutputStream::EncapsEncoder11::InstanceData::sliceType' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\OutputStream.h | 1005 |   |  
Warning | C26495 | Variable 'Ice::OutputStream::EncapsEncoder11::InstanceData::writeSlice' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\OutputStream.h | 1005 |   |  
Warning | C26495 | Variable 'Ice::OutputStream::Encaps::encoding' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\OutputStream.h | 1046 |   |  
Warning | C26495 | Variable 'Ice::OutputStream::Encaps::start' is uninitialized. Always initialize a member variable (type.6). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\OutputStream.h | 1046 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\Users\joe\src\ice\cpp\include\Ice\Value.h | 128 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\USERS\JOE\SRC\ICE\CPP\SRC\GLACIER2\SESSIONROUTERI.CPP | 145 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\USERS\JOE\SRC\ICE\CPP\SRC\GLACIER2\SESSIONROUTERI.CPP | 170 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\USERS\JOE\SRC\ICE\CPP\SRC\GLACIER2\SESSIONROUTERI.CPP | 257 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\USERS\JOE\SRC\ICE\CPP\SRC\GLACIER2\SESSIONROUTERI.CPP | 283 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\USERS\JOE\SRC\ICE\CPP\SRC\GLACIER2\SESSIONROUTERI.CPP | 479 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\USERS\JOE\SRC\ICE\CPP\SRC\GLACIER2\SESSIONROUTERI.CPP | 539 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\USERS\JOE\SRC\ICE\CPP\SRC\GLACIER2\SESSIONROUTERI.CPP | 749 |   |  
Warning | C26444 | Avoid unnamed objects with custom construction and destruction (es.84). | glacier2router++11 | C:\USERS\JOE\SRC\ICE\CPP\SRC\GLACIER2\SESSIONROUTERI.CPP | 791 |   |  

It's mostly a mix of uninitialized variables and using std::move on const variables.

externl avatar Dec 03 '19 20:12 externl

Fixed some of the warnings for 3.7.4 with #824.

bernardnormier avatar Apr 30 '20 18:04 bernardnormier