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
4 #ifndef _lucene_analysis_AnalysisHeader_
5 #define _lucene_analysis_AnalysisHeader_
7 +#include <config_global.h>
9 +# pragma GCC diagnostic push
10 +# pragma GCC diagnostic ignored "-Woverloaded-virtual"
13 #include "CLucene/index/Payload.h"
14 #include "CLucene/util/VoidList.h"
15 #include "CLucene/LuceneThreads.h"
21 +#if defined(__GNUC__)
22 +# pragma GCC diagnostic pop
25 --- src/core/CLucene/search/Searchable.h 2012-02-22 12:37:22.513637729 +0000
26 +++ src/core/CLucene/search/Searchable.h 2012-02-22 12:38:51.073641550 +0000
28 #ifndef _lucene_search_Searcher_
29 #define _lucene_search_Searcher_
31 +#include <config_global.h>
32 +#if defined(__GNUC__)
33 +# pragma GCC diagnostic push
34 +# pragma GCC diagnostic ignored "-Woverloaded-virtual"
38 //#include "CLucene/index/IndexReader.h"
39 CL_CLASS_DEF(index,Term)
45 +#if defined(__GNUC__)
46 +# pragma GCC diagnostic pop
49 --- src/core/CLucene/store/IndexInput.h 2012-02-22 12:37:22.508637673 +0000
50 +++ src/core/CLucene/store/IndexInput.h 2012-02-22 12:39:00.465747935 +0000
52 #ifndef _lucene_store_IndexInput_
53 #define _lucene_store_IndexInput_
55 +#include <config_global.h>
56 +#if defined(__GNUC__)
57 +# pragma GCC diagnostic push
58 +# pragma GCC diagnostic ignored "-Woverloaded-virtual"
61 #include "CLucene/LuceneThreads.h"
62 #include "CLucene/util/Equators.h"
65 virtual void seekInternal(const int64_t pos) = 0;
69 +#if defined(__GNUC__)
70 +# pragma GCC diagnostic pop
73 --- src/core/CLucene/util/Array.h 2012-02-22 12:37:22.510637696 +0000
74 +++ src/core/CLucene/util/Array.h 2012-02-22 12:38:33.714444884 +0000
76 #ifndef _lucene_util_Array_
77 #define _lucene_util_Array_
79 +#include <config_global.h>
80 +#if defined(__GNUC__)
81 +# pragma GCC diagnostic push
82 +# pragma GCC diagnostic ignored "-Wshadow"
83 +# pragma GCC diagnostic ignored "-Wunused-parameter"
94 +#if defined(__GNUC__)
95 +# pragma GCC diagnostic pop
98 --- src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:37:22.510637696 +0000
99 +++ src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:38:40.316519685 +0000
101 #ifndef _lucene_util_PriorityQueue_
102 #define _lucene_util_PriorityQueue_
104 +#include <config_global.h>
105 +#if defined(__GNUC__)
106 +# pragma GCC diagnostic push
107 +# pragma GCC diagnostic ignored "-Wshadow"
118 +#if defined(__GNUC__)
119 +# pragma GCC diagnostic pop