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 +#if defined(__GNUC__) || defined __clang__
8 +# pragma GCC diagnostic push
9 +# pragma GCC diagnostic ignored "-Woverloaded-virtual"
12 #include "CLucene/index/Payload.h"
13 #include "CLucene/util/VoidList.h"
14 #include "CLucene/LuceneThreads.h"
20 +#if defined(__GNUC__) || defined __clang__
21 +# pragma GCC diagnostic pop
24 --- src/core/CLucene/search/Searchable.h 2012-02-22 12:37:22.513637729 +0000
25 +++ src/core/CLucene/search/Searchable.h 2012-02-22 12:38:51.073641550 +0000
27 #ifndef _lucene_search_Searcher_
28 #define _lucene_search_Searcher_
30 +#if defined(__GNUC__) || defined __clang__
31 +# pragma GCC diagnostic push
32 +# pragma GCC diagnostic ignored "-Woverloaded-virtual"
36 //#include "CLucene/index/IndexReader.h"
37 CL_CLASS_DEF(index,Term)
43 +#if defined(__GNUC__) || defined __clang__
44 +# pragma GCC diagnostic pop
47 --- src/core/CLucene/store/IndexInput.h 2012-02-22 12:37:22.508637673 +0000
48 +++ src/core/CLucene/store/IndexInput.h 2012-02-22 12:39:00.465747935 +0000
50 #ifndef _lucene_store_IndexInput_
51 #define _lucene_store_IndexInput_
53 +#if defined(__GNUC__) || defined __clang__
54 +# pragma GCC diagnostic push
55 +# pragma GCC diagnostic ignored "-Woverloaded-virtual"
58 #include "CLucene/LuceneThreads.h"
59 #include "CLucene/util/Equators.h"
62 virtual void seekInternal(const int64_t pos) = 0;
66 +#if defined(__GNUC__) || defined __clang__
67 +# pragma GCC diagnostic pop
70 --- src/core/CLucene/util/Array.h 2012-02-22 12:37:22.510637696 +0000
71 +++ src/core/CLucene/util/Array.h 2012-02-22 12:38:33.714444884 +0000
73 #ifndef _lucene_util_Array_
74 #define _lucene_util_Array_
76 +#if defined(__GNUC__) || defined __clang__
77 +# pragma GCC diagnostic push
78 +# pragma GCC diagnostic ignored "-Wshadow"
79 +# pragma GCC diagnostic ignored "-Wunused-parameter"
80 +#if defined __clang__
81 +#if __has_warning("-Wmisleading-indentation")
82 +#pragma GCC diagnostic ignored "-Wmisleading-indentation"
85 +# pragma GCC diagnostic ignored "-Wpragmas"
86 +# pragma GCC diagnostic ignored "-Wmisleading-indentation"
98 +#if defined(__GNUC__) || defined __clang__
99 +# pragma GCC diagnostic pop
102 --- src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:37:22.510637696 +0000
103 +++ src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:38:40.316519685 +0000
105 #ifndef _lucene_util_PriorityQueue_
106 #define _lucene_util_PriorityQueue_
108 +#if defined(__GNUC__) || defined __clang__
109 +# pragma GCC diagnostic push
110 +# pragma GCC diagnostic ignored "-Wshadow"
121 +#if defined(__GNUC__) || defined __clang__
122 +# pragma GCC diagnostic pop