From 6cdc8305449cd1032362d78dd15e51d6a24b3fdd Mon Sep 17 00:00:00 2001 From: Chris Marsh Date: Thu, 12 Oct 2017 16:14:16 -0700 Subject: [PATCH] Missed a couple wanrings. Build example dll --- .../Assets/Resources/discord-rpc.dll | Bin 59392 -> 62464 bytes src/CMakeLists.txt | 3 +++ src/msg_queue.h | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/button-clicker/Assets/Resources/discord-rpc.dll b/examples/button-clicker/Assets/Resources/discord-rpc.dll index bbba889ab8dc208446087040fe9c97b293377534..afa55761197f57d3af8ec5041509ce022801baf2 100644 GIT binary patch delta 20324 zcmeHvdt8)N{{NYW83Yt(5C%a32L%N+903(?ISAx~qN1Xyc|k?P`=o=Rse>ZL_&A0h zYprdKv|4qoP^{2w!%K>H*2=t8OKt5A(H6B`?6&iJf6nuajII0q{r>-bpV#X=@6YFR zKId~j=YDwx${GX8JOMQ(UH8x*{yL3mPb=$gX)kqTYzqW+0Yd6{oTut$4Jf?C*aZms zUS{kAiYU{wCLJ(e&x(RbpgmQ3wghC&5yoP+#fOI!A7v~Fg2p5K6WzdpTQ`F?Ay5{2 z1i#0^SYgVFqB)K^j2#|=h-!pk2vvNX)MX%B2#=b;Mk0_eevgf@`V_mGRJa4TSO^q8 z;k%?>x-a-?yuajMO1+X>{gQ!1N?Xc``Ae41W5RKU0x$^?-|%|_-X1#`{x*9`ks%(r z{EMWtE3!NEWTK8`*4Y9X^E~+&V`=rW%kWhn9djAJ##=5wm2}dl?=_Fx#u(xUCF;0E zACuPz4X=4L3EiQ8a{-{i@=Ap4(8tEA_({ zje3GHW3r+C6UNRMdO{%s?V|e7<}fma!zh^N$wzNH93UJHxYJ>Hl_OmAJ`OYP&?uja z{9*3Z$2v_3gq(Z6g6`I?i$j~Mzot*D;n zPG(AzcDDJt;dWxwER_3Y8()*^C~3~7dPf(z{8rS;2-#boU8$43#}Sz=c@b0c_tR)g zZ^Oy7deNF9XK8p94FaFS~_SFlmJ&x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#@DAe@L02igKWjJwGA4cC2MGDdm^SHtwC^W*kNrQL3yKgrp+mS2K@FXf326T&ocX9) z=5;0**x$HLfRgly>N0e2&i z{VL#HR-}WRF5eDGv>hb_;X5-DMovaTC=pITuz|J!od}dModxSNv4%o^%Xuz~vG=B8 z$wMg#>Btrdy64f2j&#W)>_JX=+K$&8Fg;Jx-$Ir=4IZN=2faCP`ILvy{=*Bgod#nD&O@L!E&#rWAoYCU6&rMrS@(utJ`9u#W>hBKgzz-0*Su)hXajX(vf0d^qJh`0*08y}S!!c>J$1Li3-VUa=?11}=v zoI^(f25*tm64GCskWs=_2$b0xU@DC;IFtr_4`DCp_klMMpktSap(Szx6R=RBZ9pdi z8Qlfkuh1_8HCtg2O-9!>I}n;-v>%i`r+32;AwFA4bUW~cooIK+PXhyY;p7QA3@9Q{280nV%5yiG zoRH37L=(P(unTkz@GL@ceeLMxQ>xdms{LtkWa0aa`^@{&_F49c`*QZ>?#tU(ywCi6 z+Vgv#uX>)F4rjn#40=IWg4-0HmQ;_8y>it6g>n(DOuIs0?>7w<3GU$MV( Ne{JryY8Ad2{SQuVl_CHD diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 39f1275..d8272da 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -31,11 +31,14 @@ if(WIN32) add_library(discord-rpc ${RPC_LIBRARY_TYPE} ${BASE_RPC_SRC}) target_compile_options(discord-rpc PRIVATE /EHsc /Wall + /wd4100 # unreferenced formal parameter /wd4514 # unreferenced inline /wd4625 # copy constructor deleted /wd5026 # move constructor deleted /wd4626 # move assignment operator deleted + /wd4668 # not defined preprocessor macro /wd4710 # function not inlined + /wd4711 # function was inlined /wd4820 # structure padding /wd4946 # reinterpret_cast used between related classes /wd5027 # move assignment operator was implicitly defined as deleted diff --git a/src/msg_queue.h b/src/msg_queue.h index 65eb4da..470ce96 100644 --- a/src/msg_queue.h +++ b/src/msg_queue.h @@ -13,7 +13,7 @@ class MsgQueue { std::atomic_uint pendingSends_{0}; public: - MsgQueue(){} + MsgQueue() {} ElementType* GetNextAddMessage() {