summaryrefslogtreecommitdiffstats
path: root/patches/chromium/0005-Do-not-warn-for-header-hygiene.patch
blob: 01afa7e9cb80a0cbe51384384aa946e3c9bb2015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Zeno Albisser <zeno.albisser@digia.com>
Date: Wed, 3 Jul 2013 11:16:56 +0200
Subject: Do not warn for header-hygiene.

QtDeclarative is consciously leaking the namespace QtQml.
Therefore clang would warn about header hygiene.
Unfortunately this cannot be fixed in QtDeclarative,
unless we accept not to be able to use QtQuick1 and QtQuick2
in the same application.
---
 build/common.gypi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build/common.gypi b/build/common.gypi
index 9961053..ab759282 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3936,6 +3936,7 @@
                 '-Wno-newline-eof',
                 '-Wno-unused-value',
                 '-Wno-unused-variable',
+                '-Wno-header-hygiene',
               ],
             }],
             ['clang==1 and clang_use_chrome_plugins==1', {