From a9a68add38325ce45922d72047ca02fdc3586595 Mon Sep 17 00:00:00 2001 From: hemirt Date: Sun, 28 May 2017 00:35:38 +0200 Subject: [PATCH] disable unwanted warnings (#45) --- chatterino.pro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chatterino.pro b/chatterino.pro index 6f6228289..1d9104dbe 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -22,6 +22,12 @@ DEFINES += QT_DEPRECATED_WARNINGS # Define warning flags for Chatterino win32-msvc* { QMAKE_CXXFLAGS_WARN_ON = -W4 +# 4714 - function marked as __forceinline not inlined +# 4996 - occurs when the compiler encounters a function or variable that is marked as deprecated. +# These functions may have a different preferred name, may be insecure or have +# a more secure variant, or may be obsolete. + QMAKE_CXXFLAGS_WARN_ON += /wd4714 + QMAKE_CXXFLAGS_WARN_ON += /wd4996 } else { QMAKE_CXXFLAGS_WARN_ON = -Wall QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-function