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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Hi @entitycs ,
Sorry for the delayed reply, we don't have tracking for comments made to commits.
SIGPIPE does not exist on Windows, hence wrapping the ignore call inside a #ifndef block should fix the issue.
I will update the master code with the above fix. Thanks for the catch!
Varun
64f9dd8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This results in an error in my Visual Studio build.
Error C2065 'SIGPIPE': undeclared identifier pub-sub-sample C:\AWS\aws-iot-device-sdk-cpp-master\network\OpenSSL\OpenSSLConnection.cpp 157
How can I get past this?
I went ahead and wrapped a #define SIGPIPE 13 in an #ifndef block for my Windows app hoping that is enough.
Thanks,
64f9dd8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @entitycs ,
Sorry for the delayed reply, we don't have tracking for comments made to commits.
SIGPIPE does not exist on Windows, hence wrapping the ignore call inside a #ifndef block should fix the issue.
I will update the master code with the above fix. Thanks for the catch!
Varun