[zeromq-dev] Compilation fails when NDEBUG is enabled.

Chernyshev Vyacheslav astellar at ro.ru
Sat Aug 25 00:46:23 CEST 2012


I have run a static analyzer that I have access to. There are a lot of 
warnings about conversions from/to "memsize" type (a data type of C/C++ 
languages which is 32-bit on a 32-bit architecture and 64-bit on a 
64-bit one, i.e. size_t, ptrdiff_t, etc.), about C-style casts, etc. But 
some hints are pretty nice.

This one is a clear error:
src\pipe.cpp(193): error V547: Expression is always false. Probably the 
'||' operator should be used here.

This one is just strange code, there is no need to cast to int:
src\zmq.cpp(489): error V220: Suspicious sequence of types castings: 
memsize -> 32-bit integer -> memsize. The value being casted: '* count_'.

A small optimization hint:
src\yqueue.hpp(48): error V802: On 64-bit platform, structure size can 
be reduced from 56 to 48 bytes by rearranging the fields according to 
their sizes in decreasing order.

There is also quite a lot of warnings about differences of LP64/LLP64 
data models for long type. I have attached the whole log. Please note 
that it is extremely verbose as all possible warning levels were turned on.

-------------- next part --------------
include\zmq.h(282): error V122: Memsize type is used in the struct/class.
include\zmq.h(286): error V122: Memsize type is used in the struct/class.
include\zmq.h(290): error V122: Memsize type is used in the struct/class.
include\zmq.h(294): error V122: Memsize type is used in the struct/class.
include\zmq.h(298): error V122: Memsize type is used in the struct/class.
include\zmq.h(302): error V122: Memsize type is used in the struct/class.
include\zmq.h(306): error V122: Memsize type is used in the struct/class.
include\zmq.h(310): error V122: Memsize type is used in the struct/class.
include\zmq.h(314): error V122: Memsize type is used in the struct/class.
include\zmq.h(318): error V122: Memsize type is used in the struct/class.
include\zmq.h(360): error V122: Memsize type is used in the struct/class.
include\zmq.h(362): error V122: Memsize type is used in the struct/class.
include\zmq.h(370): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\fd.hpp(38): error V103: Implicit type conversion from memsize to 32-bit type.
src\signaler.hpp(53): error V122: Memsize type is used in the struct/class.
src\signaler.hpp(54): error V122: Memsize type is used in the struct/class.
src\command.hpp(76): error V122: Memsize type is used in the struct/class.
src\command.hpp(82): error V122: Memsize type is used in the struct/class.
src\command.hpp(88): error V122: Memsize type is used in the struct/class.
src\command.hpp(106): error V122: Memsize type is used in the struct/class.
src\command.hpp(121): error V122: Memsize type is used in the struct/class.
src\command.hpp(137): error V122: Memsize type is used in the struct/class.
src\command.hpp(41): error V122: Memsize type is used in the struct/class.
src\atomic_ptr.hpp(82): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\atomic_ptr.hpp(125): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\atomic_ptr.hpp(167): error V122: Memsize type is used in the struct/class.
src\yqueue.hpp(172): error V122: Memsize type is used in the struct/class.
src\yqueue.hpp(173): error V122: Memsize type is used in the struct/class.
src\yqueue.hpp(48): error V802: On 64-bit platform, structure size can be reduced from 56 to 48 bytes by rearranging the fields according to their sizes in decreasing order.
src\yqueue.hpp(54): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\yqueue.hpp(109): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\yqueue.hpp(180): error V122: Memsize type is used in the struct/class.
src\yqueue.hpp(182): error V122: Memsize type is used in the struct/class.
src\yqueue.hpp(184): error V122: Memsize type is used in the struct/class.
src\ypipe.hpp(188): error V122: Memsize type is used in the struct/class.
src\ypipe.hpp(192): error V122: Memsize type is used in the struct/class.
src\ypipe.hpp(195): error V122: Memsize type is used in the struct/class.
src\mutex.hpp(42): error V2001: Consider using the extended version of the InitializeCriticalSection function here: InitializeCriticalSectionEx.
src\array.hpp(109): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\array.hpp(109): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) items.size()
src\array.hpp(114): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\array.hpp(114): error V106: Implicit type conversion first argument '((item_t *) item_)->get_array_index()' of function 'erase' to memsize type.
src\array.hpp(119): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\array.hpp(119): error V630: The 'back' function is used to allocate memory for an array of objects which are classes containing constructors and destructors.
src\array.hpp(119): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) index_
src\array.hpp(127): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\array.hpp(127): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) index2_
src\array.hpp(129): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\array.hpp(129): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) index1_
src\array.hpp(140): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\array.hpp(140): error V201: Explicit conversion from 32-bit integer type to memsize type.
src\atomic_counter.hpp(83): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\atomic_counter.hpp(121): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\atomic_counter.hpp(122): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\ctx.hpp(51): error V122: Memsize type is used in the struct/class.
src\ctx.hpp(139): error V122: Memsize type is used in the struct/class.
src\ctx.hpp(147): error V122: Memsize type is used in the struct/class.
src\ctx.hpp(172): error V122: Memsize type is used in the struct/class.
src\object.hpp(121): error V122: Memsize type is used in the struct/class.
src\own.hpp(129): error V122: Memsize type is used in the struct/class.
src\thread.hpp(62): error V122: Memsize type is used in the struct/class.
src\thread.hpp(63): error V122: Memsize type is used in the struct/class.
src\thread.hpp(68): error V122: Memsize type is used in the struct/class.
src\poller_base.hpp(70): error V122: Memsize type is used in the struct/class.
src\select.hpp(84): error V122: Memsize type is used in the struct/class.
src\select.hpp(85): error V122: Memsize type is used in the struct/class.
src\select.hpp(105): error V122: Memsize type is used in the struct/class.
src\msg.hpp(99): error V122: Memsize type is used in the struct/class.
src\msg.hpp(100): error V122: Memsize type is used in the struct/class.
src\msg.hpp(101): error V122: Memsize type is used in the struct/class.
src\msg.hpp(102): error V122: Memsize type is used in the struct/class.
src\msg.hpp(122): error V2006: Implicit type conversion from enum type to integer type.
src\msg.hpp(134): error V2006: Implicit type conversion from enum type to integer type.
src\msg.hpp(133): error V122: Memsize type is used in the struct/class.
src\msg.hpp(139): error V2006: Implicit type conversion from enum type to integer type.
src\pipe.hpp(141): error V122: Memsize type is used in the struct/class.
src\pipe.hpp(142): error V122: Memsize type is used in the struct/class.
src\pipe.hpp(163): error V122: Memsize type is used in the struct/class.
src\pipe.hpp(166): error V122: Memsize type is used in the struct/class.
src\socket_base.hpp(196): error V122: Memsize type is used in the struct/class.
src\socket_base.hpp(197): error V122: Memsize type is used in the struct/class.
src\io_thread.hpp(80): error V122: Memsize type is used in the struct/class.
src\io_thread.hpp(83): error V122: Memsize type is used in the struct/class.
src\reaper.hpp(63): error V122: Memsize type is used in the struct/class.
src\reaper.hpp(66): error V122: Memsize type is used in the struct/class.
src\ctx.cpp(184): error V104: Implicit conversion of 'slot_count' to memsize type in an arithmetic expression: sizeof (mailbox_t *) * slot_count
src\ctx.cpp(184): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\ctx.cpp(188): error V2006: Implicit type conversion from enum type to integer type.
src\ctx.cpp(191): error V2006: Implicit type conversion from enum type to integer type.
src\ctx.cpp(193): error V2006: Implicit type conversion from enum type to integer type.
src\ctx.cpp(201): error V108: Incorrect index type: slots[not a memsize-type]. Use memsize type instead.
src\ctx.cpp(206): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\ctx.cpp(207): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\ctx.cpp(209): error V108: Incorrect index type: slots[not a memsize-type]. Use memsize type instead.
src\ctx.cpp(232): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\ctx.cpp(242): error V108: Incorrect index type: slots[not a memsize-type]. Use memsize type instead.
src\ctx.cpp(255): error V108: Incorrect index type: slots[not a memsize-type]. Use memsize type instead.
src\ctx.cpp(275): error V108: Incorrect index type: slots[not a memsize-type]. Use memsize type instead.
src\ctx.cpp(287): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\ctx.cpp(405): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\clock.cpp(69): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\clock.cpp(70): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\clock.cpp(70): error V2004: Explicit conversion from 'double' type to unsigned integer type: (uint64_t)(tick.QuadPart / ticks_div)
src\clock.cpp(115): error V2006: Implicit type conversion from enum type to integer type.
src\address.hpp(42): error V117: Memsize type is used in the union.
src\encoder.hpp(49): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\encoder.hpp(86): error V202: Explicit conversion from memsize type to 32-bit integer type: static_cast<int> (pos)
src\encoder.hpp(133): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\encoder.hpp(142): error V122: Memsize type is used in the struct/class.
src\encoder.hpp(145): error V122: Memsize type is used in the struct/class.
src\encoder.hpp(149): error V122: Memsize type is used in the struct/class.
src\encoder.hpp(155): error V122: Memsize type is used in the struct/class.
src\encoder.hpp(156): error V122: Memsize type is used in the struct/class.
src\encoder.hpp(178): error V122: Memsize type is used in the struct/class.
src\io_object.hpp(73): error V122: Memsize type is used in the struct/class.
src\session_base.hpp(104): error V122: Memsize type is used in the struct/class.
src\session_base.hpp(118): error V122: Memsize type is used in the struct/class.
src\session_base.hpp(121): error V122: Memsize type is used in the struct/class.
src\session_base.hpp(125): error V122: Memsize type is used in the struct/class.
src\session_base.hpp(138): error V122: Memsize type is used in the struct/class.
src\wire.hpp(44): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(45): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(51): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(52): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(57): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(58): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(59): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(60): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(66): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(67): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(68): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(69): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(74): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(75): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(76): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(77): error V112: Dangerous magic number 32 used: ...((value) >> 32) & 0xff);.
src\wire.hpp(77): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(78): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(79): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(80): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(81): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(87): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(88): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(89): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(90): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(90): error V112: Dangerous magic number 32 used: ...er_ [3]) << 32) |.
src\wire.hpp(91): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(92): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(93): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\wire.hpp(94): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\encoder.cpp(54): error V2006: Implicit type conversion from enum type to integer type.
src\encoder.cpp(91): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\encoder.cpp(92): error V2006: Implicit type conversion from enum type to integer type.
src\encoder.cpp(98): error V2006: Implicit type conversion from enum type to integer type.
src\dist.hpp(82): error V122: Memsize type is used in the struct/class.
src\dist.hpp(87): error V122: Memsize type is used in the struct/class.
src\dist.hpp(94): error V122: Memsize type is used in the struct/class.
src\dist.cpp(115): error V2006: Implicit type conversion from enum type to integer type.
src\dist.cpp(153): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\dist.cpp(153): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) matching
src\dist.cpp(159): error V127: An overflow of the 32-bit 'failed' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
src\dist.cpp(187): error V2006: Implicit type conversion from enum type to integer type.
src\decoder.hpp(60): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\decoder.hpp(100): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\decoder.hpp(112): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\decoder.hpp(127): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\decoder.hpp(156): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\decoder.hpp(171): error V122: Memsize type is used in the struct/class.
src\decoder.hpp(176): error V122: Memsize type is used in the struct/class.
src\decoder.hpp(179): error V122: Memsize type is used in the struct/class.
src\decoder.hpp(182): error V122: Memsize type is used in the struct/class.
src\decoder.hpp(183): error V122: Memsize type is used in the struct/class.
src\decoder.hpp(211): error V122: Memsize type is used in the struct/class.
src\decoder.cpp(84): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\decoder.cpp(89): error V106: Implicit type conversion first argument '* tmpbuf - 1' of function 'init_size' to memsize type.
src\decoder.cpp(116): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\decoder.cpp(148): error V2006: Implicit type conversion from enum type to integer type.
src\fq.hpp(59): error V122: Memsize type is used in the struct/class.
src\fq.hpp(62): error V122: Memsize type is used in the struct/class.
src\lb.hpp(56): error V122: Memsize type is used in the struct/class.
src\lb.hpp(59): error V122: Memsize type is used in the struct/class.
src\dealer.cpp(75): error V2006: Implicit type conversion from enum type to integer type.
src\fq.cpp(93): error V2006: Implicit type conversion from enum type to integer type.
src\err.cpp(72): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\err.cpp(211): error V202: Explicit conversion from memsize type to 32-bit integer type: (DWORD) buffer_size_
src\lb.cpp(80): error V2006: Implicit type conversion from enum type to integer type.
src\lb.cpp(110): error V2006: Implicit type conversion from enum type to integer type.
src\ip.cpp(67): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\ip.cpp(78): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\ip.cpp(101): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\ip.cpp(101): error V2006: Implicit type conversion from enum type to integer type.
src\options.cpp(66): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(70): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(74): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(78): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(86): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(95): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(104): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(108): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(112): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(116): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(120): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(124): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(128): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(132): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(140): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(148): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(152): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(160): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(164): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(172): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(180): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(184): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(188): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(196): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(204): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(213): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(230): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(247): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(262): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(279): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(297): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(315): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(320): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(347): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(356): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(365): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(383): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(392): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(401): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(410): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(419): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(428): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(437): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(446): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(455): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(464): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(473): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(482): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(491): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(500): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(509): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(518): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(527): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(536): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\options.cpp(545): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\object.cpp(306): error V2006: Implicit type conversion from enum type to integer type.
src\mtrie.hpp(82): error V117: Memsize type is used in the union.
src\mtrie.hpp(83): error V117: Memsize type is used in the union.
src\mtrie.hpp(76): error V122: Memsize type is used in the struct/class.
src\mtrie.cpp(97): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\mtrie.cpp(103): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(110): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\mtrie.cpp(121): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\mtrie.cpp(142): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(143): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(144): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(147): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(176): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\mtrie.cpp(253): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(270): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\mtrie.cpp(273): error V104: Implicit conversion of '(new_min - min)' to memsize type in an arithmetic expression: old_table + (new_min - min)
src\mtrie.cpp(306): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(324): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(356): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\mtrie.cpp(365): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(371): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\mtrie.cpp(417): error V108: Incorrect index type: current->next.table[not a memsize-type]. Use memsize type instead.
src\mtrie.cpp(419): error V108: Incorrect index type: current->next.table[not a memsize-type]. Use memsize type instead.
src\msg.cpp(40): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(45): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(53): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(54): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(56): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\msg.cpp(59): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(62): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\msg.cpp(80): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(82): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\msg.cpp(99): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(112): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(116): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(170): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(174): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(177): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(237): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(242): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(247): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(260): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(261): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(265): error V2006: Implicit type conversion from enum type to integer type.
src\msg.cpp(279): error V2006: Implicit type conversion from enum type to integer type.
src\pair.hpp(56): error V122: Memsize type is used in the struct/class.
src\own.cpp(156): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\own.cpp(156): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) owned.size()
src\pipe.cpp(140): error V2006: Implicit type conversion from enum type to integer type.
src\pipe.cpp(154): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\pipe.cpp(169): error V2006: Implicit type conversion from enum type to integer type.
src\pipe.cpp(183): error V2006: Implicit type conversion from enum type to integer type.
src\pipe.cpp(193): error V547: Expression is always false. Probably the '||' operator should be used here.
src\pipe.cpp(238): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\pipe.cpp(409): error V2006: Implicit type conversion from enum type to integer type.
src\pipe.cpp(410): error V2006: Implicit type conversion from enum type to integer type.
src\pipe.cpp(449): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\random.cpp(37): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\random.cpp(41): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\random.cpp(47): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\random.cpp(48): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_connecter.hpp(87): error V122: Memsize type is used in the struct/class.
src\tcp_connecter.hpp(90): error V122: Memsize type is used in the struct/class.
src\tcp_connecter.hpp(93): error V122: Memsize type is used in the struct/class.
src\tcp_connecter.hpp(106): error V122: Memsize type is used in the struct/class.
src\router.hpp(92): error V122: Memsize type is used in the struct/class.
src\router.hpp(104): error V122: Memsize type is used in the struct/class.
src\trie.hpp(68): error V117: Memsize type is used in the union.
src\trie.hpp(69): error V117: Memsize type is used in the union.
src\session_base.cpp(132): error V2006: Implicit type conversion from enum type to integer type.
src\session_base.cpp(157): error V2006: Implicit type conversion from enum type to integer type.
src\session_base.cpp(170): error V2006: Implicit type conversion from enum type to integer type.
src\session_base.cpp(179): error V2006: Implicit type conversion from enum type to integer type.
src\session_base.cpp(293): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\session_base.cpp(368): error V2006: Implicit type conversion from enum type to integer type.
src\session_base.cpp(396): error V2006: Implicit type conversion from enum type to integer type.
src\select.cpp(109): error V2006: Implicit type conversion from enum type to integer type.
src\select.cpp(154): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\select.cpp(162): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\select.cpp(163): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\select.cpp(182): error V2006: Implicit type conversion from enum type to integer type.
src\select.cpp(186): error V2006: Implicit type conversion from enum type to integer type.
src\select.cpp(190): error V2006: Implicit type conversion from enum type to integer type.
src\select.cpp(185): error V807: Decreased performance. Consider creating a pointer to avoid using the 'fds[i].events' expression repeatedly.
src\select.cpp(162): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\select.cpp(163): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\select.cpp(207): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\select.cpp(212): error V2006: Implicit type conversion from enum type to integer type.
src\router.cpp(121): error V807: Decreased performance. Consider creating a reference to avoid using the 'it->second' expression repeatedly.
src\router.cpp(139): error V2006: Implicit type conversion from enum type to integer type.
src\router.cpp(146): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\router.cpp(170): error V2006: Implicit type conversion from enum type to integer type.
src\router.cpp(207): error V2006: Implicit type conversion from enum type to integer type.
src\router.cpp(228): error V2006: Implicit type conversion from enum type to integer type.
src\router.cpp(241): error V2006: Implicit type conversion from enum type to integer type.
src\router.cpp(290): error V2006: Implicit type conversion from enum type to integer type.
src\router.cpp(325): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\req.cpp(56): error V2006: Implicit type conversion from enum type to integer type.
src\req.cpp(63): error V2006: Implicit type conversion from enum type to integer type.
src\req.cpp(93): error V2006: Implicit type conversion from enum type to integer type.
src\req.cpp(97): error V2006: Implicit type conversion from enum type to integer type.
src\req.cpp(114): error V2006: Implicit type conversion from enum type to integer type.
src\req.cpp(150): error V2006: Implicit type conversion from enum type to integer type.
src\req.cpp(157): error V2006: Implicit type conversion from enum type to integer type.
src\req.cpp(163): error V2006: Implicit type conversion from enum type to integer type.
src\rep.cpp(46): error V2006: Implicit type conversion from enum type to integer type.
src\rep.cpp(75): error V2006: Implicit type conversion from enum type to integer type.
src\rep.cpp(91): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_address.cpp(221): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(297): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(297): error V595: The 'res' pointer was utilized before it was verified against nullptr. Check lines: 297, 301.
src\tcp_address.cpp(356): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(374): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(377): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(410): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(471): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(473): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(524): error V112: Dangerous magic number 32 used: address_mask = 32;.
src\tcp_address.cpp(535): error V112: Dangerous magic number 32 used: ...6 && mask > 32).
src\tcp_address.cpp(579): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(589): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(590): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(595): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(596): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_address.cpp(603): error V106: Implicit type conversion third argument 'full_bytes' of function 'memcmp' to memsize type.
src\tcp_address.cpp(603): error V526: The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
src\tcp_address.cpp(609): error V108: Incorrect index type: their_bytes[not a memsize-type]. Use memsize type instead.
src\tcp_address.cpp(609): error V108: Incorrect index type: our_bytes[not a memsize-type]. Use memsize type instead.
src\tcp.cpp(47): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp.cpp(47): error V2006: Implicit type conversion from enum type to integer type.
src\sub.cpp(51): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\stream_engine.hpp(82): error V122: Memsize type is used in the struct/class.
src\stream_engine.hpp(84): error V122: Memsize type is used in the struct/class.
src\stream_engine.hpp(86): error V122: Memsize type is used in the struct/class.
src\stream_engine.hpp(87): error V122: Memsize type is used in the struct/class.
src\stream_engine.hpp(91): error V122: Memsize type is used in the struct/class.
src\stream_engine.hpp(92): error V122: Memsize type is used in the struct/class.
src\stream_engine.hpp(96): error V122: Memsize type is used in the struct/class.
src\stream_engine.hpp(99): error V122: Memsize type is used in the struct/class.
src\stream_engine.cpp(64): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\stream_engine.cpp(73): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\stream_engine.cpp(94): error V2006: Implicit type conversion from enum type to integer type.
src\stream_engine.cpp(102): error V2006: Implicit type conversion from enum type to integer type.
src\stream_engine.cpp(163): error V101: Implicit assignment type conversion to memsize type.
src\stream_engine.cpp(166): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\stream_engine.cpp(175): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\stream_engine.cpp(236): error V102: Usage of non memsize type for pointer arithmetic.
src\stream_engine.cpp(237): error V101: Implicit assignment type conversion to memsize type.
src\stream_engine.cpp(273): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\stream_engine.cpp(273): error V111: Call of function 'monitor_event' with variable number of arguments. Third argument has memsize type.
src\stream_engine.cpp(283): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\stream_engine.cpp(283): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) size_
src\stream_engine.cpp(329): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\stream_engine.cpp(329): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) size_
src\tcp_listener.hpp(74): error V122: Memsize type is used in the struct/class.
src\tcp_listener.hpp(77): error V122: Memsize type is used in the struct/class.
src\tcp_listener.hpp(80): error V122: Memsize type is used in the struct/class.
src\socket_base.cpp(267): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(277): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(291): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(293): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(295): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(357): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\socket_base.cpp(364): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(456): error V2006: Implicit type conversion from enum type to integer type.
src\socket_base.cpp(468): error V2006: Implicit type conversion from enum type to integer type.
src\socket_base.cpp(556): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(618): error V2006: Implicit type conversion from enum type to integer type.
src\socket_base.cpp(622): error V2006: Implicit type conversion from enum type to integer type.
src\socket_base.cpp(653): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(690): error V2006: Implicit type conversion from enum type to integer type.
src\socket_base.cpp(738): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(814): error V2006: Implicit type conversion from enum type to integer type.
src\socket_base.cpp(866): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\socket_base.cpp(866): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) pipes.size()
src\socket_base.cpp(993): error V2006: Implicit type conversion from enum type to integer type.
src\socket_base.cpp(997): error V2006: Implicit type conversion from enum type to integer type.
src\socket_base.cpp(900): error V524: It is odd that the body of 'xrecv' function is fully equivalent to the body of 'xsend' function (socket_base.cpp, line 889).
src\signaler.cpp(123): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\signaler.cpp(213): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\signaler.cpp(259): error V2001: Consider using the extended version of the WaitForSingleObject function here: WaitForSingleObjectEx.
src\signaler.cpp(275): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\signaler.cpp(279): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\signaler.cpp(278): error V2006: Implicit type conversion from enum type to integer type.
src\signaler.cpp(287): error V2006: Implicit type conversion from enum type to integer type.
src\signaler.cpp(288): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\signaler.cpp(300): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\signaler.cpp(305): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\signaler.cpp(304): error V2006: Implicit type conversion from enum type to integer type.
src\signaler.cpp(309): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\signaler.cpp(317): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\trie.cpp(81): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\trie.cpp(87): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(94): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\trie.cpp(105): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\trie.cpp(127): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(128): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(129): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(133): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(153): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(173): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(188): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(220): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\trie.cpp(223): error V104: Implicit conversion of '(new_min - min)' to memsize type in an arithmetic expression: old_table + (new_min - min)
src\trie.cpp(235): error V108: Incorrect index type: next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(244): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\trie.cpp(281): error V108: Incorrect index type: current->next.table[not a memsize-type]. Use memsize type instead.
src\trie.cpp(309): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\thread.cpp(36): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\thread.cpp(50): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\thread.cpp(58): error V2001: Consider using the extended version of the WaitForSingleObject function here: WaitForSingleObjectEx.
src\tcp_listener.cpp(64): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_listener.cpp(87): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_listener.cpp(88): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\tcp_listener.cpp(111): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\tcp_listener.cpp(111): error V111: Call of function 'monitor_event' with variable number of arguments. Third argument has memsize type.
src\tcp_listener.cpp(116): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_listener.cpp(124): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\tcp_listener.cpp(124): error V111: Call of function 'monitor_event' with variable number of arguments. Third argument has memsize type.
src\tcp_listener.cpp(125): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_listener.cpp(137): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_listener.cpp(144): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_listener.cpp(156): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_listener.cpp(168): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_listener.cpp(177): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_listener.cpp(193): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_listener.cpp(226): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\tcp_listener.cpp(226): error V111: Call of function 'monitor_event' with variable number of arguments. Third argument has memsize type.
src\tcp_listener.cpp(239): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_listener.cpp(247): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_listener.cpp(253): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_listener.cpp(256): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_listener.cpp(270): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_listener.cpp(283): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(75): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(89): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(98): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(119): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(138): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\tcp_connecter.cpp(138): error V111: Call of function 'monitor_event' with variable number of arguments. Third argument has memsize type.
src\tcp_connecter.cpp(143): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(165): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\tcp_connecter.cpp(170): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(179): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(180): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\tcp_connecter.cpp(206): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(209): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(262): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\tcp_connecter.cpp(272): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(292): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(298): error V2006: Implicit type conversion from enum type to integer type.
src\tcp_connecter.cpp(306): error V111: Call of function 'monitor_event' with variable number of arguments. Second argument has memsize type.
src\tcp_connecter.cpp(306): error V111: Call of function 'monitor_event' with variable number of arguments. Third argument has memsize type.
src\tcp_connecter.cpp(307): error V2006: Implicit type conversion from enum type to integer type.
include\zmq_utils.h(53): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\zmq_utils.cpp(41): error V2001: Consider using the extended version of the Sleep function here: SleepEx.
src\zmq_utils.cpp(49): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq_utils.cpp(52): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq_utils.cpp(58): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq_utils.cpp(60): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq_utils.cpp(55): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\zmq_utils.cpp(60): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\zmq.cpp(63): error V122: Memsize type is used in the struct/class.
src\zmq.cpp(64): error V122: Memsize type is used in the struct/class.
src\zmq.cpp(168): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(173): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(197): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(201): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(206): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(210): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(215): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(219): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(245): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(249): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(251): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(256): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(260): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(267): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(271): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(278): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(282): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(289): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(293): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(300): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(304): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(311): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(315): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(321): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(325): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(334): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(334): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) zmq_msg_size(msg_)
src\zmq.cpp(335): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(349): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(359): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(382): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(388): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(417): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(420): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(420): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) zmq_msg_size(msg_)
src\zmq.cpp(432): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(440): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(452): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(452): error V201: Explicit conversion from 32-bit integer type to memsize type: size_t (nbytes)
src\zmq.cpp(483): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(487): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(489): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(489): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) * count_
src\zmq.cpp(489): error V101: Implicit assignment type conversion to memsize type.
src\zmq.cpp(489): error V220: Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being casted: '* count_'.
src\zmq.cpp(510): error V127: An overflow of the 32-bit 'nread' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
src\zmq.cpp(517): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(517): error V2006: Implicit type conversion from enum type to integer type.
src\zmq.cpp(526): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(531): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(537): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(542): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(546): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(553): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(557): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(564): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(569): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(574): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(579): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(584): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(596): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(596): error V2006: Implicit type conversion from enum type to integer type.
src\zmq.cpp(779): error V2001: Consider using the extended version of the Sleep function here: SleepEx.
src\zmq.cpp(807): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(810): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(813): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(822): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(823): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(824): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(825): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(826): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(827): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(828): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(829): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(850): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(851): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(880): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(884): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(887): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(890): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(892): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(893): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(895): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(900): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(901): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(902): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(903): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(904): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(905): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(908): error V108: Incorrect index type: items_[not a memsize-type]. Use memsize type instead.
src\zmq.cpp(612): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\zmq.cpp(850): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\zmq.cpp(851): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\zmq.cpp(976): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(977): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(987): error V2001: Consider using the extended version of the Sleep function here: SleepEx.
src\zmq.cpp(995): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(998): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(1004): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(1006): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\zmq.cpp(1001): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\zmq.cpp(1006): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
src\zmq.cpp(319): error V524: It is odd that the body of 'zmq_disconnect' function is fully equivalent to the body of 'zmq_unbind' function (zmq.cpp, line 309).
src\xsub.cpp(85): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\xsub.cpp(125): error V2006: Implicit type conversion from enum type to integer type.
src\xsub.cpp(145): error V2006: Implicit type conversion from enum type to integer type.
src\xsub.cpp(151): error V2006: Implicit type conversion from enum type to integer type.
src\xsub.cpp(191): error V2006: Implicit type conversion from enum type to integer type.
src\xsub.cpp(200): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\xsub.cpp(206): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\xsub.cpp(212): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\xpub.cpp(62): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\xpub.cpp(98): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\xpub.cpp(104): error V2006: Implicit type conversion from enum type to integer type.
src\xpub.cpp(108): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\xpub.cpp(142): error V807: Decreased performance. Consider creating a reference to avoid using the 'pending.front()' expression repeatedly.
src\xpub.cpp(158): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
src\xpub.cpp(164): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\remote_thr.cpp(39): error V112: Dangerous magic number 4 used: if (argc != 4) {.
perf\remote_thr.cpp(71): error V106: Implicit type conversion second argument 'message_size' of function 'zmq_msg_init_size' to memsize type.
perf\local_thr.cpp(42): error V112: Dangerous magic number 4 used: if (argc != 4) {.
perf\local_thr.cpp(112): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\local_thr.cpp(111): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\local_thr.cpp(111): error V2004: Explicit conversion from 'double' type to unsigned integer type.
perf\local_thr.cpp(113): error V104: Implicit conversion of 'throughput' to memsize type in an arithmetic expression: throughput * message_size
perf\local_thr.cpp(113): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\local_thr.cpp(113): error V203: Explicit type conversion from memsize to double type or vice versa: (double)(throughput * message_size * 8)
perf\local_thr.cpp(115): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\local_thr.cpp(115): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) message_size
perf\local_thr.cpp(116): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\local_thr.cpp(117): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\local_thr.cpp(118): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\local_thr.cpp(38): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
perf\local_thr.cpp(39): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
perf\local_thr.cpp(111): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
perf\remote_lat.cpp(42): error V112: Dangerous magic number 4 used: if (argc != 4) {.
perf\remote_lat.cpp(103): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\remote_lat.cpp(105): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\remote_lat.cpp(105): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) message_size
perf\remote_lat.cpp(106): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\remote_lat.cpp(107): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\remote_lat.cpp(39): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
perf\local_lat.cpp(38): error V112: Dangerous magic number 4 used: if (argc != 4) {.
perf\inproc_thr.cpp(144): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_thr.cpp(164): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_thr.cpp(164): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) message_size
perf\inproc_thr.cpp(165): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_thr.cpp(202): error V2001: Consider using the extended version of the WaitForSingleObject function here: WaitForSingleObjectEx.
perf\inproc_thr.cpp(233): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_thr.cpp(232): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_thr.cpp(232): error V2004: Explicit conversion from 'double' type to unsigned integer type.
perf\inproc_thr.cpp(234): error V104: Implicit conversion of 'throughput' to memsize type in an arithmetic expression: throughput * message_size
perf\inproc_thr.cpp(234): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_thr.cpp(234): error V203: Explicit type conversion from memsize to double type or vice versa: (double)(throughput * message_size * 8)
perf\inproc_thr.cpp(236): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_thr.cpp(237): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_thr.cpp(113): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
perf\inproc_thr.cpp(114): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
perf\inproc_thr.cpp(232): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.
perf\inproc_lat.cpp(145): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_lat.cpp(166): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_lat.cpp(166): error V202: Explicit conversion from memsize type to 32-bit integer type: (int) message_size
perf\inproc_lat.cpp(167): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_lat.cpp(196): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_lat.cpp(199): error V2001: Consider using the extended version of the WaitForSingleObject function here: WaitForSingleObjectEx.
perf\inproc_lat.cpp(217): error V2005: C-style explicit type casting is utilized. Consider using: static_cast/const_cast/reinterpret_cast.
perf\inproc_lat.cpp(115): error V126: Be advised that the size of the type 'long' varies between LLP64/LP64 data models.


More information about the zeromq-dev mailing list