Ø  MSVC 2013 supports most of C99, its not so important any more.

As provided, the Visual Studio 2013 projects have the same error. If you change 
the project to say “compile as C” rather than “compile as C++”, the error goes 
away. Perhaps the Visual Studio projects need altering.

However. My point was partly that it looked like a coding error. As far as I 
understand it, something is being passed to zsock_type_str that potentially 
isn’t a zsock_t*, so the code would go wrong if you passed in a libzmq void* 
socket pointer instead of a zsock_t*. If this is the case, then I think that 
the code ought to be fixed. It’s probably a minor issue as the code is about to 
assert and terminate anyway, but even so, it looks like an error.



From: [email protected] 
[mailto:[email protected]] On Behalf Of Steven McCoy
Sent: 12 September 2014 17:18
To: ZeroMQ development list
Subject: Re: [zeromq-dev] Trouble compiling czmq under Visual Studio

On 12 September 2014 11:12, Tom Quarendon 
<[email protected]<mailto:[email protected]>> wrote:
Since Visual Studio doesn’t support C99, the C source files are compiled as 
C++. This appears to have thrown up a type issue.


MSVC 2013 supports most of C99, its not so important any more.

--
Steve-o
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to