Details
Description
After an update on March 28th, the files socketappender.cpp, sockethubappender.cpp, socketoutputstream.cpp, and xmlsocketappender.cpp no longer compile. Compiling errors occur on the same section of boilerplate code:
protected:
LOG4CXX_LIST_DEF(ByteList, char); // Error occurs within the code generated from this MACRO
ByteList array;
SocketPtr socket;
Error Log:
>Compiling...
3>socketappender.cpp
3>z:\projects\Cerberus\log4cxx\src\main\include\log4cxx/helpers/socketoutputstream.h(53) : error C2960: 'std::allocator<_Ty>' : inconsistent explicit instantiations, a previous explicit instantiation specified 'extern template'
3> with
3> [
3> _Ty=char
3> ]
3>sockethubappender.cpp
3>z:\projects\Cerberus\log4cxx\src\main\include\log4cxx/helpers/socketoutputstream.h(53) : error C2960: 'std::allocator<_Ty>' : inconsistent explicit instantiations, a previous explicit instantiation specified 'extern template'
3> with
3> [
3> _Ty=char
3> ]
3>socketoutputstream.cpp
3>z:\projects\Cerberus\log4cxx\src\main\include\log4cxx/helpers/socketoutputstream.h(53) : error C2960: 'std::allocator<_Ty>' : inconsistent explicit instantiations, a previous explicit instantiation specified 'extern template'
3> with
3> [
3> _Ty=char
3> ]
3>xmlsocketappender.cpp
3>z:\projects\Cerberus\log4cxx\src\main\include\log4cxx/helpers/socketoutputstream.h(53) : error C2960: 'std::allocator<_Ty>' : inconsistent explicit instantiations, a previous explicit instantiation specified 'extern template'
3> with
3> [
3> _Ty=char
3> ]
Thanks,
Grant Averett