[nanomsg] NNG on Windows

  • From: Joe Pasquariello <joep@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Mon, 23 Jan 2017 06:02:42 -0800

Hello, 

I'm taking a shot at building NNG for Windows with Embarcardero
(formerly Borland) C++. The old BCC32 is pre-C99, and I was able to
build with just a few changes, including the C99-style structure inits.
The latest release has CLANG for both WIN32 and WIN64, and I will go in
that direction. Two issues: 

In socket.c, there are two references to ENOTSUP. Should they be
NNG_ENOTSUP? 

After building library, attempting to build a trivial application led to
linker error: Unresolved external '_sockaddr_size'. Is that function
defined for Windows? 

Joe 
-- 
Joe Pasquariello
joep@xxxxxxxxxx
510-665-4355

Other related posts: