clucene-warnings.patch 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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_
  6. +#pragma GCC system_header
  7. +
  8. #include "CLucene/index/Payload.h"
  9. #include "CLucene/util/VoidList.h"
  10. #include "CLucene/LuceneThreads.h"
  11. --- src/core/CLucene/search/Searchable.h 2012-02-22 12:37:22.513637729 +0000
  12. +++ src/core/CLucene/search/Searchable.h 2012-02-22 12:38:51.073641550 +0000
  13. @@ -7,6 +7,7 @@
  14. #ifndef _lucene_search_Searcher_
  15. #define _lucene_search_Searcher_
  16. +#pragma GCC system_header
  17. //#include "CLucene/index/IndexReader.h"
  18. CL_CLASS_DEF(index,Term)
  19. --- src/core/CLucene/store/IndexInput.h 2012-02-22 12:37:22.508637673 +0000
  20. +++ src/core/CLucene/store/IndexInput.h 2012-02-22 12:39:00.465747935 +0000
  21. @@ -7,6 +7,8 @@
  22. #ifndef _lucene_store_IndexInput_
  23. #define _lucene_store_IndexInput_
  24. +#pragma GCC system_header
  25. +
  26. #include "CLucene/LuceneThreads.h"
  27. #include "CLucene/util/Equators.h"
  28. --- src/core/CLucene/util/Array.h 2012-02-22 12:37:22.510637696 +0000
  29. +++ src/core/CLucene/util/Array.h 2012-02-22 12:38:33.714444884 +0000
  30. @@ -7,6 +7,8 @@
  31. #ifndef _lucene_util_Array_
  32. #define _lucene_util_Array_
  33. +#pragma GCC system_header
  34. +
  35. #include <stdlib.h>
  36. #include <string.h>
  37. --- src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:37:22.510637696 +0000
  38. +++ src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:38:40.316519685 +0000
  39. @@ -7,6 +7,8 @@
  40. #ifndef _lucene_util_PriorityQueue_
  41. #define _lucene_util_PriorityQueue_
  42. +#pragma GCC system_header
  43. +
  44. #include <stdlib.h>
  45. CL_NS_DEF(util)