mirror of
https://github.com/yuzu-emu/discord-rpc
synced 2024-11-22 22:53:59 +00:00
Missed a couple wanrings. Build example dll
This commit is contained in:
parent
990c8d4be6
commit
6cdc830544
3 changed files with 4 additions and 1 deletions
Binary file not shown.
|
@ -31,11 +31,14 @@ if(WIN32)
|
||||||
add_library(discord-rpc ${RPC_LIBRARY_TYPE} ${BASE_RPC_SRC})
|
add_library(discord-rpc ${RPC_LIBRARY_TYPE} ${BASE_RPC_SRC})
|
||||||
target_compile_options(discord-rpc PRIVATE /EHsc
|
target_compile_options(discord-rpc PRIVATE /EHsc
|
||||||
/Wall
|
/Wall
|
||||||
|
/wd4100 # unreferenced formal parameter
|
||||||
/wd4514 # unreferenced inline
|
/wd4514 # unreferenced inline
|
||||||
/wd4625 # copy constructor deleted
|
/wd4625 # copy constructor deleted
|
||||||
/wd5026 # move constructor deleted
|
/wd5026 # move constructor deleted
|
||||||
/wd4626 # move assignment operator deleted
|
/wd4626 # move assignment operator deleted
|
||||||
|
/wd4668 # not defined preprocessor macro
|
||||||
/wd4710 # function not inlined
|
/wd4710 # function not inlined
|
||||||
|
/wd4711 # function was inlined
|
||||||
/wd4820 # structure padding
|
/wd4820 # structure padding
|
||||||
/wd4946 # reinterpret_cast used between related classes
|
/wd4946 # reinterpret_cast used between related classes
|
||||||
/wd5027 # move assignment operator was implicitly defined as deleted
|
/wd5027 # move assignment operator was implicitly defined as deleted
|
||||||
|
|
|
@ -13,7 +13,7 @@ class MsgQueue {
|
||||||
std::atomic_uint pendingSends_{0};
|
std::atomic_uint pendingSends_{0};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MsgQueue(){}
|
MsgQueue() {}
|
||||||
|
|
||||||
ElementType* GetNextAddMessage()
|
ElementType* GetNextAddMessage()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue