diff --git a/modules/ripple_client/ripple_client.cpp b/modules/ripple_client/ripple_client.cpp index e31af32280..27bf4cc5ef 100644 --- a/modules/ripple_client/ripple_client.cpp +++ b/modules/ripple_client/ripple_client.cpp @@ -31,6 +31,7 @@ //#pragma warning (push) // Causes spurious C4503 "decorated name exceeds maximum length" #pragma warning (disable: 4018) // signed/unsigned mismatch #pragma warning (disable: 4244) // conversion, possible loss of data +#pragma warning (disable: 4309) // truncation of constant value #endif #include "src/cpp/ripple/HTTPRequest.cpp" diff --git a/modules/ripple_main/ripple_main.cpp b/modules/ripple_main/ripple_main.cpp index 790b13496a..6d8212b6ec 100644 --- a/modules/ripple_main/ripple_main.cpp +++ b/modules/ripple_main/ripple_main.cpp @@ -55,6 +55,7 @@ #ifdef _MSC_VER //#pragma warning (push) // Causes spurious C4503 "decorated name exceeds maximum length" #pragma warning (disable: 4018) // signed/unsigned mismatch +#pragma warning (disable: 4309) // truncation of constant value (websocket) #pragma warning (disable: 4244) // conversion, possible loss of data #pragma warning (disable: 4535) // call requires /EHa #endif diff --git a/newcoin.vcxproj.filters b/newcoin.vcxproj.filters index f9fc360cfb..ba1b56c5d8 100644 --- a/newcoin.vcxproj.filters +++ b/newcoin.vcxproj.filters @@ -124,16 +124,16 @@ {1b463564-35d9-43d1-b3a0-21b344a3a1c7} - + {786657f9-b1b3-483c-a8e6-863cc2e02eb8} - + {b6175f9a-7d46-4b57-877f-f58b0b3bba89} - + {becffa9b-61f7-42d4-815a-1ec822cad0e7} - + {7f76ce57-c428-487e-97a0-979c0990a81d} @@ -505,7 +505,7 @@ 1. Modules\ripple_basics - 3. Empty\ripple_ledger + 2. Empty\ripple_ledger 1. Modules\ripple_main\processing @@ -613,7 +613,7 @@ 1. Modules\ripple_client\http - 3. Empty\ripple_net + 2. Empty\ripple_net 1. Modules\ripple_main\contracts @@ -649,7 +649,7 @@ 1. Modules\ripple_main\processing - 3. Empty\ripple_mess + 2. Empty\ripple_mess 1. Modules\ripple_json\json @@ -1152,7 +1152,7 @@ 1. Modules\ripple_basics - 3. Empty\ripple_ledger + 2. Empty\ripple_ledger 1. Modules\ripple_main\processing @@ -1260,7 +1260,7 @@ 1. Modules\ripple_client\http - 3. Empty\ripple_net + 2. Empty\ripple_net 1. Modules\ripple_main\contracts @@ -1290,7 +1290,7 @@ 1. Modules\ripple_main\processing - 3. Empty\ripple_mess + 2. Empty\ripple_mess 1. Modules\ripple_basics\containers diff --git a/src/cpp/websocketpp/src/processors/hybi_legacy.hpp b/src/cpp/websocketpp/src/processors/hybi_legacy.hpp index 836d0ee727..c4f155820a 100644 --- a/src/cpp/websocketpp/src/processors/hybi_legacy.hpp +++ b/src/cpp/websocketpp/src/processors/hybi_legacy.hpp @@ -288,7 +288,8 @@ public: } msg->set_header(std::string(1,0x00)); - + + // VFALCO: TODO fix this warning C4309 "truncation of constant value" msg->append_payload(std::string(1,0xFF)); msg->set_prepared(true);