Skip to content

Instantly share code, notes, and snippets.

@PeterMitrano
Last active August 29, 2015 14:25
Show Gist options
  • Save PeterMitrano/ee080cefdee6832fd68b to your computer and use it in GitHub Desktop.
Save PeterMitrano/ee080cefdee6832fd68b to your computer and use it in GitHub Desktop.
initial output of nmake
[ 21%] Built target gmock
[ 23%] Building CXX object CMakeFiles/ntcore.dir/src/Dispatcher.cpp.obj
Dispatcher.cpp
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(684) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<char>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<char>>>(_Other &) throw()'
with
[
_Other=std::_Wrap_alloc<std::allocator<char>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(683) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<char>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const'
with
[
_Elem=char
, _Alloc=std::allocator<char>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(724) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<char>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const' being compiled
with
[
_Elem=char
, _Alloc=std::allocator<char>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(695) : see reference to class template instantiation 'std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>' being compiled
with
[
_Elem=char
, _Alloc=std::allocator<char>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdexcept(31) : see reference to class template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(779) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc(const std::allocator<char> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc<std::allocator<char>>(_Other &) throw()'
with
[
_Other=std::allocator<char>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(778) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<char>> std::_Wrap_alloc<std::allocator<char>>::select_on_container_copy_construction(void) const'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(724) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<char>> std::_Wrap_alloc<std::allocator<char>>::select_on_container_copy_construction(void) const' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(455) : see reference to class template instantiation 'std::_Wrap_alloc<std::allocator<char>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(621) : see reference to class template instantiation 'std::_String_base_types<_Elem,_Alloc>' being compiled
with
[
_Elem=char
, _Alloc=std::allocator<char>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(684) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<wchar_t>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<wchar_t>>>(_Other &) throw()'
with
[
_Other=std::_Wrap_alloc<std::allocator<wchar_t>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc'
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(683) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<wchar_t>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const'
with
[
_Elem=wchar_t
, _Alloc=std::allocator<wchar_t>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(887) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<wchar_t>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const' being compiled
with
[
_Elem=wchar_t
, _Alloc=std::allocator<wchar_t>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(695) : see reference to class template instantiation 'std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>' being compiled
with
[
_Elem=wchar_t
, _Alloc=std::allocator<wchar_t>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\string(363) : see reference to class template instantiation 'std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1828) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(std::_Wrap_alloc<std::allocator<_Ty>> &) throw()'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
, _Ty=nt::NetworkConnection::Outgoing
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1827) : while compiling class template member function 'void std::deque<_Ty,std::allocator<_Ty>>::_Tidy(void)'
with
[
_Ty=nt::NetworkConnection::Outgoing
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1215) : see reference to function template instantiation 'void std::deque<_Ty,std::allocator<_Ty>>::_Tidy(void)' being compiled
with
[
_Ty=nt::NetworkConnection::Outgoing
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\queue(23) : see reference to class template instantiation 'std::deque<_Ty,std::allocator<_Ty>>' being compiled
with
[
_Ty=nt::NetworkConnection::Outgoing
]
c:\users\peter\projects\ntcore\src\support/ConcurrentQueue.h(23) : see reference to class template instantiation 'std::queue<T,std::deque<_Ty,std::allocator<_Ty>>>' being compiled
with
[
T=nt::NetworkConnection::Outgoing
, _Ty=nt::NetworkConnection::Outgoing
]
c:\users\peter\projects\ntcore\src\NetworkConnection.h(50) : see reference to class template instantiation 'ConcurrentQueue<nt::NetworkConnection::Outgoing>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(642) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(641) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Vector_alloc<false,std::_Vec_base_types<_Ty,_Alloc>>::_Getal(void) const'
with
[
_Ty=std::shared_ptr<nt::Message>
, _Alloc=std::allocator<std::shared_ptr<nt::Message>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(873) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Vector_alloc<false,std::_Vec_base_types<_Ty,_Alloc>>::_Getal(void) const' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Alloc=std::allocator<std::shared_ptr<nt::Message>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(652) : see reference to class template instantiation 'std::_Vector_alloc<false,std::_Vec_base_types<_Ty,_Alloc>>' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Alloc=std::allocator<std::shared_ptr<nt::Message>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(947) : see reference to class template instantiation 'std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1828) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(std::_Wrap_alloc<std::allocator<_Ty>> &) throw()'
with
[
_Other=std::shared_ptr<nt::Message> *
, _Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::shared_ptr<nt::Message> *
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1827) : while compiling class template member function 'void std::deque<_Ty,std::allocator<_Ty>>::_Tidy(void)'
with
[
_Ty=nt::NetworkConnection::Incoming
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1215) : see reference to function template instantiation 'void std::deque<_Ty,std::allocator<_Ty>>::_Tidy(void)' being compiled
with
[
_Ty=nt::NetworkConnection::Incoming
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\queue(23) : see reference to class template instantiation 'std::deque<_Ty,std::allocator<_Ty>>' being compiled
with
[
_Ty=nt::NetworkConnection::Incoming
]
c:\users\peter\projects\ntcore\src\support/ConcurrentQueue.h(23) : see reference to class template instantiation 'std::queue<T,std::deque<_Ty,std::allocator<_Ty>>>' being compiled
with
[
T=nt::NetworkConnection::Incoming
, _Ty=nt::NetworkConnection::Incoming
]
c:\users\peter\projects\ntcore\src\NetworkConnection.h(51) : see reference to class template instantiation 'ConcurrentQueue<nt::NetworkConnection::Incoming>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1828) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(std::_Wrap_alloc<std::allocator<_Ty>> &) throw()'
with
[
_Other=nt::Storage::Update *
, _Ty=nt::Storage::Update
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=nt::Storage::Update *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=nt::Storage::Update *
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1827) : while compiling class template member function 'void std::deque<_Ty,std::allocator<_Ty>>::_Tidy(void)'
with
[
_Ty=nt::Storage::Update
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1215) : see reference to function template instantiation 'void std::deque<_Ty,std::allocator<_Ty>>::_Tidy(void)' being compiled
with
[
_Ty=nt::Storage::Update
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\queue(23) : see reference to class template instantiation 'std::deque<_Ty,std::allocator<_Ty>>' being compiled
with
[
_Ty=nt::Storage::Update
]
c:\users\peter\projects\ntcore\src\support/ConcurrentQueue.h(23) : see reference to class template instantiation 'std::queue<T,std::deque<_Ty,std::allocator<_Ty>>>' being compiled
with
[
T=nt::Storage::Update
, _Ty=nt::Storage::Update
]
c:\users\peter\projects\ntcore\src\Storage.h(119) : see reference to class template instantiation 'ConcurrentQueue<nt::Storage::Update>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=nt::Storage::Update *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=nt::Storage::Update *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=nt::Storage::Update *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=nt::Storage::Update *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(642) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::Dispatcher::Connection
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(641) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Vector_alloc<false,std::_Vec_base_types<_Ty,_Alloc>>::_Getal(void) const'
with
[
_Ty=nt::Dispatcher::Connection
, _Alloc=std::allocator<nt::Dispatcher::Connection>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(873) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Vector_alloc<false,std::_Vec_base_types<_Ty,_Alloc>>::_Getal(void) const' being compiled
with
[
_Ty=nt::Dispatcher::Connection
, _Alloc=std::allocator<nt::Dispatcher::Connection>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(652) : see reference to class template instantiation 'std::_Vector_alloc<false,std::_Vec_base_types<_Ty,_Alloc>>' being compiled
with
[
_Ty=nt::Dispatcher::Connection
, _Alloc=std::allocator<nt::Dispatcher::Connection>
]
c:\users\peter\projects\ntcore\src\Dispatcher.h(78) : see reference to class template instantiation 'std::vector<nt::Dispatcher::Connection,std::allocator<_Ty>>' being compiled
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(912) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=nt::NetworkConnection::Outgoing
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::NetworkConnection::Outgoing
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::NetworkConnection::Outgoing
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(911) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Deque_alloc<false,std::_Deque_base_types<_Ty,_Alloc>>::_Getal(void) const'
with
[
_Ty=nt::NetworkConnection::Outgoing
, _Alloc=std::allocator<nt::NetworkConnection::Outgoing>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1828) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Deque_alloc<false,std::_Deque_base_types<_Ty,_Alloc>>::_Getal(void) const' being compiled
with
[
_Ty=nt::NetworkConnection::Outgoing
, _Alloc=std::allocator<nt::NetworkConnection::Outgoing>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(922) : see reference to class template instantiation 'std::_Deque_alloc<false,std::_Deque_base_types<_Ty,_Alloc>>' being compiled
with
[
_Ty=nt::NetworkConnection::Outgoing
, _Alloc=std::allocator<nt::NetworkConnection::Outgoing>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1566) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1565) : while compiling class template member function 'void std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Destroy(std::shared_ptr<nt::Message> *,std::shared_ptr<nt::Message> *)'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1626) : see reference to function template instantiation 'void std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Destroy(std::shared_ptr<nt::Message> *,std::shared_ptr<nt::Message> *)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(912) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(911) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Deque_alloc<false,std::_Deque_base_types<_Ty,_Alloc>>::_Getal(void) const'
with
[
_Ty=std::shared_ptr<nt::Message>
, _Alloc=std::allocator<std::shared_ptr<nt::Message>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1828) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Deque_alloc<false,std::_Deque_base_types<_Ty,_Alloc>>::_Getal(void) const' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Alloc=std::allocator<std::shared_ptr<nt::Message>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(922) : see reference to class template instantiation 'std::_Deque_alloc<false,std::_Deque_base_types<_Ty,_Alloc>>' being compiled
with
[
_Ty=nt::NetworkConnection::Incoming
, _Alloc=std::allocator<std::shared_ptr<nt::Message>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(912) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=nt::Storage::Update
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::Storage::Update
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::Storage::Update
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(911) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Deque_alloc<false,std::_Deque_base_types<_Ty,_Alloc>>::_Getal(void) const'
with
[
_Ty=nt::Storage::Update
, _Alloc=std::allocator<nt::Storage::Update>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1828) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Deque_alloc<false,std::_Deque_base_types<_Ty,_Alloc>>::_Getal(void) const' being compiled
with
[
_Ty=nt::Storage::Update
, _Alloc=std::allocator<nt::Storage::Update>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(922) : see reference to class template instantiation 'std::_Deque_alloc<false,std::_Deque_base_types<_Ty,_Alloc>>' being compiled
with
[
_Ty=nt::Storage::Update
, _Alloc=std::allocator<nt::Storage::Update>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1566) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::Dispatcher::Connection
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1565) : while compiling class template member function 'void std::vector<nt::Dispatcher::Connection,std::allocator<_Ty>>::_Destroy(nt::Dispatcher::Connection *,nt::Dispatcher::Connection *)'
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1626) : see reference to function template instantiation 'void std::vector<nt::Dispatcher::Connection,std::allocator<_Ty>>::_Destroy(nt::Dispatcher::Connection *,nt::Dispatcher::Connection *)' being compiled
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1566) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1565) : while compiling class template member function 'void std::vector<std::shared_ptr<nt::StorageEntry>,std::allocator<_Ty>>::_Destroy(std::shared_ptr<nt::StorageEntry> *,std::shared_ptr<nt::StorageEntry> *)'
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1626) : see reference to function template instantiation 'void std::vector<std::shared_ptr<nt::StorageEntry>,std::allocator<_Ty>>::_Destroy(std::shared_ptr<nt::StorageEntry> *,std::shared_ptr<nt::StorageEntry> *)' being compiled
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
]
c:\users\peter\projects\ntcore\src\Dispatcher.h(97) : see reference to class template instantiation 'std::vector<std::shared_ptr<nt::StorageEntry>,std::allocator<_Ty>>' being compiled
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(642) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(641) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Vector_alloc<false,std::_Vec_base_types<_Ty,_Alloc>>::_Getal(void) const'
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
, _Alloc=std::allocator<std::shared_ptr<nt::StorageEntry>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1628) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<_Ty>> std::_Vector_alloc<false,std::_Vec_base_types<_Ty,_Alloc>>::_Getal(void) const' being compiled
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
, _Alloc=std::allocator<std::shared_ptr<nt::StorageEntry>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(652) : see reference to class template instantiation 'std::_Vector_alloc<false,std::_Vec_base_types<_Ty,_Alloc>>' being compiled
with
[
_Ty=std::shared_ptr<nt::StorageEntry>
, _Alloc=std::allocator<std::shared_ptr<nt::StorageEntry>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1777) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(std::_Wrap_alloc<std::allocator<_Ty>> &) throw()'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
, _Ty=nt::NetworkConnection::Outgoing
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1772) : while compiling class template member function 'void std::deque<_Ty,std::allocator<_Ty>>::_Growmap(unsigned __int64)'
with
[
_Ty=nt::NetworkConnection::Outgoing
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\deque(1131) : see reference to function template instantiation 'void std::deque<_Ty,std::allocator<_Ty>>::_Growmap(unsigned __int64)' being compiled
with
[
_Ty=nt::NetworkConnection::Outgoing
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(815) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Other>>::_Wrap_alloc'
with
[
_Other=std::vector<std::shared_ptr<nt::Message>,std::allocator<std::shared_ptr<nt::Message>>> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1646) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1591) : see reference to function template instantiation 'std::shared_ptr<nt::Message> *std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Umove<std::shared_ptr<nt::Message>*>(_Iter,_Iter,std::shared_ptr<nt::Message> *)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Iter=std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1591) : see reference to function template instantiation 'std::shared_ptr<nt::Message> *std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Umove<std::shared_ptr<nt::Message>*>(_Iter,_Iter,std::shared_ptr<nt::Message> *)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Iter=std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1587) : while compiling class template member function 'void std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Reallocate(unsigned __int64)'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1617) : see reference to function template instantiation 'void std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Reallocate(unsigned __int64)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1646) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=nt::Dispatcher::Connection
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1591) : see reference to function template instantiation 'nt::Dispatcher::Connection *std::vector<nt::Dispatcher::Connection,std::allocator<_Ty>>::_Umove<nt::Dispatcher::Connection*>(_Iter,_Iter,nt::Dispatcher::Connection *)' being compiled
with
[
_Ty=nt::Dispatcher::Connection
, _Iter=nt::Dispatcher::Connection *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1591) : see reference to function template instantiation 'nt::Dispatcher::Connection *std::vector<nt::Dispatcher::Connection,std::allocator<_Ty>>::_Umove<nt::Dispatcher::Connection*>(_Iter,_Iter,nt::Dispatcher::Connection *)' being compiled
with
[
_Ty=nt::Dispatcher::Connection
, _Iter=nt::Dispatcher::Connection *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1587) : while compiling class template member function 'void std::vector<nt::Dispatcher::Connection,std::allocator<_Ty>>::_Reallocate(unsigned __int64)'
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1617) : see reference to function template instantiation 'void std::vector<nt::Dispatcher::Connection,std::allocator<_Ty>>::_Reallocate(unsigned __int64)' being compiled
with
[
_Ty=nt::Dispatcher::Connection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\thr/xthread(200) : warning C4265: 'std::_LaunchPad<_Target>' : class has virtual functions, but destructor is not virtual
instances of this class may not be destructed correctly
with
[
_Target=std::_Bind<true,void,std::_Pmf_wrap<void (__cdecl nt::Dispatcher::* )(void),void,nt::Dispatcher,>,nt::Dispatcher *>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\thr/xthread(205) : see reference to class template instantiation 'std::_LaunchPad<_Target>' being compiled
with
[
_Target=std::_Bind<true,void,std::_Pmf_wrap<void (__cdecl nt::Dispatcher::* )(void),void,nt::Dispatcher,>,nt::Dispatcher *>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\thread(49) : see reference to function template instantiation 'void std::_Launch<std::_Bind<true,void,std::_Pmf_wrap<void (__cdecl nt::Dispatcher::* )(void),void,nt::Dispatcher,>,nt::Dispatcher *>>(_Thrd_t *,_Target &&)' being compiled
with
[
_Target=std::_Bind<true,void,std::_Pmf_wrap<void (__cdecl nt::Dispatcher::* )(void),void,nt::Dispatcher,>,nt::Dispatcher *>
]
C:\Users\peter\Projects\ntcore\src\Dispatcher.cpp(36) : see reference to function template instantiation 'std::thread::thread<void(__cdecl nt::Dispatcher::* )(void),nt::Dispatcher*const >(_Fn &&,nt::Dispatcher *const &&)' being compiled
with
[
_Fn=void (__cdecl nt::Dispatcher::* )(void)
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\thr/xthread(200) : warning C4265: 'std::_LaunchPad<_Target>' : class has virtual functions, but destructor is not virtual
instances of this class may not be destructed correctly
with
[
_Target=std::_Bind<true,void,std::_Pmf_wrap<void (__cdecl nt::Dispatcher::* )(const char *,unsigned int),void,nt::Dispatcher,const char *,unsigned int>,nt::Dispatcher *,const char *,unsigned int>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\thr/xthread(205) : see reference to class template instantiation 'std::_LaunchPad<_Target>' being compiled
with
[
_Target=std::_Bind<true,void,std::_Pmf_wrap<void (__cdecl nt::Dispatcher::* )(const char *,unsigned int),void,nt::Dispatcher,const char *,unsigned int>,nt::Dispatcher *,const char *,unsigned int>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\thread(49) : see reference to function template instantiation 'void std::_Launch<std::_Bind<true,void,std::_Pmf_wrap<void (__cdecl nt::Dispatcher::* )(const char *,unsigned int),void,nt::Dispatcher,const char *,unsigned int>,nt::Dispatcher *,const char *,unsigned int>>(_Thrd_t *,_Target &&)' being compiled
with
[
_Target=std::_Bind<true,void,std::_Pmf_wrap<void (__cdecl nt::Dispatcher::* )(const char *,unsigned int),void,nt::Dispatcher,const char *,unsigned int>,nt::Dispatcher *,const char *,unsigned int>
]
C:\Users\peter\Projects\ntcore\src\Dispatcher.cpp(38) : see reference to function template instantiation 'std::thread::thread<void(__cdecl nt::Dispatcher::* )(const char *,unsigned int),nt::Dispatcher*const ,const char*&,unsigned int&>(_Fn &&,nt::Dispatcher *const &&,const char *&,unsigned int &)' being compiled
with
[
_Fn=void (__cdecl nt::Dispatcher::* )(const char *,unsigned int)
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1638) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<_Ty>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<_Ty>>>(_Other &) throw()'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::_Wrap_alloc'
with
[
_Ty=std::shared_ptr<nt::Message>
]
A non-const reference may only be bound to an lvalue
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1404) : see reference to function template instantiation 'std::shared_ptr<nt::Message> *std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Ucopy<_Iter>(_Iter,_Iter,std::shared_ptr<nt::Message> *)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Iter=const std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1404) : see reference to function template instantiation 'std::shared_ptr<nt::Message> *std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Ucopy<_Iter>(_Iter,_Iter,std::shared_ptr<nt::Message> *)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Iter=const std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1343) : see reference to function template instantiation 'void std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Insert<_Iter>(std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<std::shared_ptr<nt::Message>>>>,_Iter,_Iter,std::forward_iterator_tag)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Iter=const std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(1343) : see reference to function template instantiation 'void std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::_Insert<_Iter>(std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<std::shared_ptr<nt::Message>>>>,_Iter,_Iter,std::forward_iterator_tag)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Iter=const std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(923) : see reference to function template instantiation 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<std::shared_ptr<nt::Message>>>> std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::insert<const _Elem*>(std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<std::shared_ptr<nt::Message>>>>,_Iter,_Iter)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Elem=std::shared_ptr<nt::Message>
, _Iter=const std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(923) : see reference to function template instantiation 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<std::shared_ptr<nt::Message>>>> std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::insert<const _Elem*>(std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<std::shared_ptr<nt::Message>>>>,_Iter,_Iter)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
, _Elem=std::shared_ptr<nt::Message>
, _Iter=const std::shared_ptr<nt::Message> *
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\vector(919) : while compiling class template member function 'std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::vector(std::initializer_list<std::shared_ptr<nt::Message>>,const std::allocator<_Ty> &)'
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Users\peter\Projects\ntcore\src\Dispatcher.cpp(181) : see reference to function template instantiation 'std::vector<std::shared_ptr<nt::Message>,std::allocator<_Ty>>::vector(std::initializer_list<std::shared_ptr<nt::Message>>,const std::allocator<_Ty> &)' being compiled
with
[
_Ty=std::shared_ptr<nt::Message>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\functional(1124) : error C2280: 'std::unique_ptr<nt::NetworkConnection,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)' : attempting to reference a deleted function
with
[
_Ty=nt::NetworkConnection
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\memory(1486) : see declaration of 'std::unique_ptr<nt::NetworkConnection,std::default_delete<_Ty>>::unique_ptr'
with
[
_Ty=nt::NetworkConnection
]
This diagnostic occurred in the compiler generated function 'nt::Dispatcher::Connection::Connection(const nt::Dispatcher::Connection &)'
@PeterJohnson
Copy link

Fixed. I guess Visual Studio doesn't support in-place construction of atomics like that.

@PeterMitrano
Copy link
Author

updated with your changes. The actual error is at the very bottom. MSVC needs you to put virtual in front of your destructor? That seems to be what it's complaining about I have no idea what this is about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment