Advertisement
lovejoy777

surfaceflinger ??

Nov 28th, 2014
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.41 KB | None | 0 0
  1. target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/FrameTracker.cpp
  2. frameworks/native/services/sensorservice/SensorService.cpp: In member function 'virtual void android::SensorService::onFirstRef()':
  3. frameworks/native/services/sensorservice/SensorService.cpp:162:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  4. for (int i = 0; i < mSensorList.size(); ++i) {
  5. ^
  6. frameworks/native/services/sensorservice/SensorService.cpp: In member function 'android::status_t android::SensorService::SensorEventConnection::sendEvents(const sensors_event_t*, size_t, sensors_event_t*, const android::SensorService::SensorEventConnection* const*)':
  7. frameworks/native/services/sensorservice/SensorService.cpp:1245:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  8. if (mCacheSize + count <= mMaxCacheSize) {
  9. ^
  10. frameworks/native/services/sensorservice/SensorService.cpp:1251:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  11. if (mCacheSize + count < computeMaxCacheSizeLocked()) {
  12. ^
  13. target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/Layer.cpp
  14. In file included from frameworks/native/services/surfaceflinger/EventControlThread.cpp:18:
  15. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:57:
  16. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:219:16: warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags]
  17. friend struct HWComposer;
  18. ^
  19. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:58:7: note: previous use is here
  20. class HWComposer
  21. ^
  22. 1 warning generated.
  23. In file included from frameworks/native/services/surfaceflinger/Client.cpp:26:
  24. In file included from frameworks/native/services/surfaceflinger/Layer.h:42:
  25. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:57:
  26. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:219:16: warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags]
  27. friend struct HWComposer;
  28. ^
  29. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:58:7: note: previous use is here
  30. class HWComposer
  31. ^
  32. 1 warning generated.
  33. In file included from frameworks/native/services/surfaceflinger/DisplayDevice.cpp:35:
  34. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:219:16: warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags]
  35. friend struct HWComposer;
  36. ^
  37. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:58:7: note: previous use is here
  38. class HWComposer
  39. ^
  40. In file included from frameworks/native/services/surfaceflinger/DisplayDevice.cpp:39:
  41. frameworks/native/services/surfaceflinger/DisplayDevice.h:40:1: warning: class 'DisplayInfo' was previously declared as a struct [-Wmismatched-tags]
  42. class DisplayInfo;
  43. ^
  44. frameworks/native/include/ui/DisplayInfo.h:28:8: note: previous use is here
  45. struct DisplayInfo {
  46. ^
  47. frameworks/native/services/surfaceflinger/DisplayDevice.h:40:1: note: did you mean struct here?
  48. class DisplayInfo;
  49. ^~~~~
  50. struct
  51. 2 warnings generated.
  52. In file included from frameworks/native/services/surfaceflinger/EventThread.cpp:33:
  53. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:57:
  54. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:219:16: warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags]
  55. friend struct HWComposer;
  56. ^
  57. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:58:7: note: previous use is here
  58. class HWComposer
  59. ^
  60. 1 warning generated.
  61. target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/LayerDim.cpp
  62. target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/MessageQueue.cpp
  63. target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/MonitoredProducer.cpp
  64. target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp
  65. target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/SurfaceFlingerConsumer.cpp
  66. target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/Transform.cpp
  67. In file included from frameworks/native/services/surfaceflinger/Layer.cpp:42:
  68. In file included from frameworks/native/services/surfaceflinger/Layer.h:42:
  69. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:57:
  70. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:219:16: warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags]
  71. friend struct HWComposer;
  72. ^
  73. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:58:7: note: previous use is here
  74. class HWComposer
  75. ^
  76. frameworks/native/services/surfaceflinger/Layer.cpp:622:43: error: use of undeclared identifier 'HWC_BLIT'
  77. layer.getCompositionType() == HWC_BLIT) {
  78. ^
  79. 1 warning and 1 error generated.
  80. build/core/binary.mk:617: recipe for target '/home/lovejoy777/android/slimpop/out/target/product/otterx/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Layer.o' failed
  81. make: *** [/home/lovejoy777/android/slimpop/out/target/product/otterx/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Layer.o] Error 1
  82. make: *** Waiting for unfinished jobs....
  83. In file included from frameworks/native/services/surfaceflinger/MonitoredProducer.cpp:19:
  84. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:57:
  85. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:219:16: warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags]
  86. friend struct HWComposer;
  87. ^
  88. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:58:7: note: previous use is here
  89. class HWComposer
  90. ^
  91. 1 warning generated.
  92. In file included from frameworks/native/services/surfaceflinger/LayerDim.cpp:26:
  93. In file included from frameworks/native/services/surfaceflinger/LayerDim.h:23:
  94. In file included from frameworks/native/services/surfaceflinger/Layer.h:42:
  95. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:57:
  96. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:219:16: warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags]
  97. friend struct HWComposer;
  98. ^
  99. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:58:7: note: previous use is here
  100. class HWComposer
  101. ^
  102. In file included from frameworks/native/services/surfaceflinger/LayerDim.cpp:26:
  103. frameworks/native/services/surfaceflinger/LayerDim.h:39:18: warning: 'android::LayerDim::isOpaque' hides overloaded virtual function [-Woverloaded-virtual]
  104. virtual bool isOpaque() const { return false; }
  105. ^
  106. frameworks/native/services/surfaceflinger/Layer.h:163:18: note: hidden overloaded virtual function 'android::Layer::isOpaque' declared here: different number of parameters (1 vs 0)
  107. virtual bool isOpaque(const Layer::State& s) const;
  108. ^
  109. 2 warnings generated.
  110. In file included from frameworks/native/services/surfaceflinger/MessageQueue.cpp:32:
  111. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:57:
  112. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:219:16: warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags]
  113. friend struct HWComposer;
  114. ^
  115. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:58:7: note: previous use is here
  116. class HWComposer
  117. ^
  118. 1 warning generated.
  119. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:67:
  120. frameworks/native/services/surfaceflinger/DisplayDevice.h:40:1: warning: class 'DisplayInfo' was previously declared as a struct [-Wmismatched-tags]
  121. class DisplayInfo;
  122. ^
  123. frameworks/native/include/ui/DisplayInfo.h:28:8: note: previous use is here
  124. struct DisplayInfo {
  125. ^
  126. frameworks/native/services/surfaceflinger/DisplayDevice.h:40:1: note: did you mean struct here?
  127. class DisplayInfo;
  128. ^~~~~
  129. struct
  130. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:71:
  131. In file included from frameworks/native/services/surfaceflinger/Layer.h:42:
  132. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:57:
  133. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:219:16: warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags]
  134. friend struct HWComposer;
  135. ^
  136. frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:58:7: note: previous use is here
  137. class HWComposer
  138. ^
  139. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:72:
  140. frameworks/native/services/surfaceflinger/LayerDim.h:39:18: warning: 'android::LayerDim::isOpaque' hides overloaded virtual function [-Woverloaded-virtual]
  141. virtual bool isOpaque() const { return false; }
  142. ^
  143. frameworks/native/services/surfaceflinger/Layer.h:163:18: note: hidden overloaded virtual function 'android::Layer::isOpaque' declared here: different number of parameters (1 vs 0)
  144. virtual bool isOpaque(const Layer::State& s) const;
  145. ^
  146. In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:77:
  147. frameworks/native/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.h:90:18: warning: 'android::VirtualDisplaySurface::dump' hides overloaded virtual function [-Woverloaded-virtual]
  148. virtual void dump(String8& result) const;
  149. ^
  150. frameworks/native/include/binder/Binder.h:35:25: note: hidden overloaded virtual function 'android::BBinder::dump' declared here: different number of parameters (2 vs 1)
  151. virtual status_t dump(int fd, const Vector<String16>& args);
  152. ^
  153. frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:635:61: warning: unused parameter 'display' [-Wunused-parameter]
  154. status_t SurfaceFlinger::getDisplayStats(const sp<IBinder>& display,
  155. ^
  156. frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:686:35: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned int') [-Wsign-compare]
  157. if(mMode < 0 || mMode >= configs.size()) {
  158. ~~~~~ ^ ~~~~~~~~~~~~~~
  159. frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:1778:51: warning: unused parameter 'dpy' [-Wunused-parameter]
  160. void SurfaceFlinger::computeVisibleRegions(size_t dpy,
  161. ^
  162. frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:2155:58: error: use of undeclared identifier 'HWC_BLIT'
  163. if (cur->getCompositionType() != HWC_BLIT)
  164. ^
  165. frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:2255:26: error: use of undeclared identifier 'HWC_BLIT'
  166. case HWC_BLIT:
  167. ^
  168. frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:3535:26: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'const uint32_t' (aka 'const unsigned int') [-Wsign-compare]
  169. if (sourceCrop.right > hw_w) {
  170. ~~~~~~~~~~~~~~~~ ^ ~~~~
  171. frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:3541:27: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'const uint32_t' (aka 'const unsigned int') [-Wsign-compare]
  172. if (sourceCrop.bottom > hw_h) {
  173. ~~~~~~~~~~~~~~~~~ ^ ~~~~
  174. 9 warnings and 2 errors generated.
  175. build/core/binary.mk:617: recipe for target '/home/lovejoy777/android/slimpop/out/target/product/otterx/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceFlinger.o' failed
  176. make: *** [/home/lovejoy777/android/slimpop/out/target/product/otterx/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceFlinger.o] Error 1
  177. lovejoy777@alien:~/android/slimpop$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement