From 6624550dc1b3bc2a5688240773ce46ec2cba0fc0 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 26 Apr 2016 23:28:52 -0400 Subject: [PATCH] fix a ton of build server warnings (they were all the same) --- SConscript | 2 +- src/PowderToy.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SConscript b/SConscript index 1053a9c90..48d479793 100644 --- a/SConscript +++ b/SConscript @@ -388,7 +388,7 @@ if not msvc: env.Append(CXXFLAGS=['-std=gnu++98']) else: env.Append(CXXFLAGS=['-std=c++98']) - env.Append(CXXFLAGS=['-Wno-invalid-offsetof']) + env.Append(CXXFLAGS=['-Wno-invalid-offsetof', '-Wno-unused-result']) #Add platform specific flags and defines diff --git a/src/PowderToy.h b/src/PowderToy.h index 16fae8e32..4243e3821 100644 --- a/src/PowderToy.h +++ b/src/PowderToy.h @@ -6,4 +6,4 @@ void ClipboardPush(std::string text); std::string ClipboardPull(); int GetModifiers(); bool LoadWindowPosition(int scale); -void SetCursorEnabled(int enabled); \ No newline at end of file +void SetCursorEnabled(int enabled);