You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The functions natsConnection_IsDraining and natsConnection_GetLocalIPAndPort are missing the NATS_EXTERN declaration, so these functions are not available when using the Windows DLL
Expected behavior
The functions natsConnection_IsDraining and natsConnection_GetLocalIPAndPort should be exported to the Windows DLL.
Server and client version
n/a, latest version of the nats.c repository
Host environment
building on Windows 10, using Visual Studio 2019 and CMake 3.25
Steps to reproduce
Checkout and build the nats.c library on Windows, e.g.
Examine build\src\Debug\natsd.dll in a dependency viewer, e.g. https://github.com/lucasg/Dependencies. The functions natsConnection_IsDraining and natsConnection_GetLocalIPAndPort are not exported.
The text was updated successfully, but these errors were encountered:
This is important for Windows platform.
I also fixed a cast issue in util.c (that was reported on Windows build).
Some changes are also related to spaces at end of lines that were removed
by my editor.
Resolves#714
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This is important for Windows platform.
I also fixed a cast issue in util.c (that was reported on Windows build).
Some changes are also related to spaces at end of lines that were removed
by my editor.
Resolves#714
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
Observed behavior
The functions
natsConnection_IsDraining
andnatsConnection_GetLocalIPAndPort
are missing theNATS_EXTERN
declaration, so these functions are not available when using the Windows DLLExpected behavior
The functions
natsConnection_IsDraining
andnatsConnection_GetLocalIPAndPort
should be exported to the Windows DLL.Server and client version
n/a, latest version of the nats.c repository
Host environment
building on Windows 10, using Visual Studio 2019 and CMake 3.25
Steps to reproduce
Checkout and build the nats.c library on Windows, e.g.
Examine
build\src\Debug\natsd.dll
in a dependency viewer, e.g. https://github.com/lucasg/Dependencies. The functionsnatsConnection_IsDraining
andnatsConnection_GetLocalIPAndPort
are not exported.The text was updated successfully, but these errors were encountered: