Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / clucene / patches / clucene-warnings.patch
blobb9676d90260c702f1ccd133dc2647747f3629344
1 --- src/core/CLucene/analysis/AnalysisHeader.h 2012-02-22 12:37:22.531637934 +0000
2 +++ src/core/CLucene/analysis/AnalysisHeader.h 2012-02-22 12:39:15.369916728 +0000
3 @@ -7,6 +7,8 @@
4 #ifndef _lucene_analysis_AnalysisHeader_
5 #define _lucene_analysis_AnalysisHeader_
7 +#pragma GCC system_header
9 #include "CLucene/index/Payload.h"
10 #include "CLucene/util/VoidList.h"
11 #include "CLucene/LuceneThreads.h"
12 --- src/core/CLucene/search/Searchable.h 2012-02-22 12:37:22.513637729 +0000
13 +++ src/core/CLucene/search/Searchable.h 2012-02-22 12:38:51.073641550 +0000
14 @@ -7,6 +7,7 @@
15 #ifndef _lucene_search_Searcher_
16 #define _lucene_search_Searcher_
18 +#pragma GCC system_header
20 //#include "CLucene/index/IndexReader.h"
21 CL_CLASS_DEF(index,Term)
22 --- src/core/CLucene/store/IndexInput.h 2012-02-22 12:37:22.508637673 +0000
23 +++ src/core/CLucene/store/IndexInput.h 2012-02-22 12:39:00.465747935 +0000
24 @@ -7,6 +7,8 @@
25 #ifndef _lucene_store_IndexInput_
26 #define _lucene_store_IndexInput_
28 +#pragma GCC system_header
30 #include "CLucene/LuceneThreads.h"
31 #include "CLucene/util/Equators.h"
33 --- src/core/CLucene/util/Array.h 2012-02-22 12:37:22.510637696 +0000
34 +++ src/core/CLucene/util/Array.h 2012-02-22 12:38:33.714444884 +0000
35 @@ -7,6 +7,8 @@
36 #ifndef _lucene_util_Array_
37 #define _lucene_util_Array_
39 +#pragma GCC system_header
41 #include <stdlib.h>
42 #include <string.h>
44 --- src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:37:22.510637696 +0000
45 +++ src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:38:40.316519685 +0000
46 @@ -7,6 +7,8 @@
47 #ifndef _lucene_util_PriorityQueue_
48 #define _lucene_util_PriorityQueue_
50 +#pragma GCC system_header
52 #include <stdlib.h>
54 CL_NS_DEF(util)