From 70f7329a7e804430c3a71833e366fb9394c1486d Mon Sep 17 00:00:00 2001
From: David Rowe <david@ctrlaltstudio.com>
Date: Sat, 9 May 2015 17:59:10 -0700
Subject: [PATCH 1/2] Disable pragma that Windows doesn't know about

---
 libraries/networking/src/DataServerAccountInfo.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/networking/src/DataServerAccountInfo.cpp b/libraries/networking/src/DataServerAccountInfo.cpp
index 44e8dbef90..aa9c5bed93 100644
--- a/libraries/networking/src/DataServerAccountInfo.cpp
+++ b/libraries/networking/src/DataServerAccountInfo.cpp
@@ -17,7 +17,7 @@
 #include "NetworkLogging.h"
 #include "DataServerAccountInfo.h"
 
-#ifndef __GNUC__
+#if !defined(__GNUC__) && !defined(Q_OS_WIN)
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
 #endif
 

From 662f07a9214220efc75c4ce3f8740021a122386d Mon Sep 17 00:00:00 2001
From: David Rowe <david@ctrlaltstudio.com>
Date: Mon, 11 May 2015 09:31:12 -0700
Subject: [PATCH 2/2] Better #if condition for clang

---
 libraries/networking/src/DataServerAccountInfo.cpp | 2 +-
 libraries/networking/src/RSAKeypairGenerator.cpp   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libraries/networking/src/DataServerAccountInfo.cpp b/libraries/networking/src/DataServerAccountInfo.cpp
index aa9c5bed93..fd2c6da13d 100644
--- a/libraries/networking/src/DataServerAccountInfo.cpp
+++ b/libraries/networking/src/DataServerAccountInfo.cpp
@@ -17,7 +17,7 @@
 #include "NetworkLogging.h"
 #include "DataServerAccountInfo.h"
 
-#if !defined(__GNUC__) && !defined(Q_OS_WIN)
+#ifdef __clang__
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
 #endif
 
diff --git a/libraries/networking/src/RSAKeypairGenerator.cpp b/libraries/networking/src/RSAKeypairGenerator.cpp
index 2368b5e6d2..53b9b27cc6 100644
--- a/libraries/networking/src/RSAKeypairGenerator.cpp
+++ b/libraries/networking/src/RSAKeypairGenerator.cpp
@@ -18,7 +18,7 @@
 #include "NetworkLogging.h"
 
 #include "RSAKeypairGenerator.h"
-#ifndef __GNUC__
+#ifdef __clang__
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
 #endif