-
Notifications
You must be signed in to change notification settings - Fork 110
Description
Does anyone in this forum use visual studio 2017 for build and development?
Basically, I use following command to generate makefile for VS2017.
cmake -G "Visual Studio 15 2017 Win64" -Dgtest_force_shared_crt=TRUE ../.
However, after I resolve some minor compiler issues, I still suffer 44 warning messages and would like to consult with you before moving forward. For sure, I am willing to commit the minor patch for build under visual studio 2017 if necessary, please advise.
1.) SIGPIPE not support under Windows platform
#line 156 of \network\OpenSSL\OpenSSLConnection.cpp
Resolve this error by compiler "Preprocessor Statements #ifdef"
2.) unicode format encoding scheme.
\include\gtest\internal\gtest-internal.h
warning C4819:The file contains a character that cannot be represented in the current code page (950).
Resolve this by save as unicode format.
3.) Type conversion between 'unsigned int' to 'uint16_t'.
3.a) stdint.h in Visual Studio platform define uint_16_t as "unsigned int"
3.b) SOCKET need type conversion to UINT_PTR instead of int.
Chamber Wang