summaryrefslogtreecommitdiff
path: root/extra/clucene/clucene-warnings.patch
blob: b9676d90260c702f1ccd133dc2647747f3629344 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--- src/core/CLucene/analysis/AnalysisHeader.h	2012-02-22 12:37:22.531637934 +0000
+++ src/core/CLucene/analysis/AnalysisHeader.h	2012-02-22 12:39:15.369916728 +0000
@@ -7,6 +7,8 @@
 #ifndef _lucene_analysis_AnalysisHeader_
 #define _lucene_analysis_AnalysisHeader_
 
+#pragma GCC system_header
+
 #include "CLucene/index/Payload.h"
 #include "CLucene/util/VoidList.h"
 #include "CLucene/LuceneThreads.h"
--- src/core/CLucene/search/Searchable.h	2012-02-22 12:37:22.513637729 +0000
+++ src/core/CLucene/search/Searchable.h	2012-02-22 12:38:51.073641550 +0000
@@ -7,6 +7,7 @@
 #ifndef _lucene_search_Searcher_
 #define _lucene_search_Searcher_
 
+#pragma GCC system_header
 
 //#include "CLucene/index/IndexReader.h"
 CL_CLASS_DEF(index,Term)
--- src/core/CLucene/store/IndexInput.h	2012-02-22 12:37:22.508637673 +0000
+++ src/core/CLucene/store/IndexInput.h	2012-02-22 12:39:00.465747935 +0000
@@ -7,6 +7,8 @@
 #ifndef _lucene_store_IndexInput_
 #define _lucene_store_IndexInput_
 
+#pragma GCC system_header
+
 #include "CLucene/LuceneThreads.h"
 #include "CLucene/util/Equators.h"
 
--- src/core/CLucene/util/Array.h	2012-02-22 12:37:22.510637696 +0000
+++ src/core/CLucene/util/Array.h	2012-02-22 12:38:33.714444884 +0000
@@ -7,6 +7,8 @@
 #ifndef _lucene_util_Array_
 #define _lucene_util_Array_
 
+#pragma GCC system_header
+
 #include <stdlib.h>
 #include <string.h>
 
--- src/core/CLucene/util/PriorityQueue.h	2012-02-22 12:37:22.510637696 +0000
+++ src/core/CLucene/util/PriorityQueue.h	2012-02-22 12:38:40.316519685 +0000
@@ -7,6 +7,8 @@
 #ifndef _lucene_util_PriorityQueue_
 #define _lucene_util_PriorityQueue_
 
+#pragma GCC system_header
+
 #include <stdlib.h>
 
 CL_NS_DEF(util)