Advertisement
Captain_Throwback

chargeled compiler warnings

Feb 24th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. [ 53% 3233/6072] target C++: chargeled <= device/htc/pme/recovery/chargeled/chargeled.cpp
  2. device/htc/pme/recovery/chargeled/chargeled.cpp:61:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  3. { "Unknown", BATTERY_STATUS_UNKNOWN },
  4. ^
  5. device/htc/pme/recovery/chargeled/chargeled.cpp:62:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  6. { "Charging", BATTERY_STATUS_CHARGING },
  7. ^
  8. device/htc/pme/recovery/chargeled/chargeled.cpp:63:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  9. { "Discharging", BATTERY_STATUS_DISCHARGING },
  10. ^
  11. device/htc/pme/recovery/chargeled/chargeled.cpp:64:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  12. { "Not charging", BATTERY_STATUS_NOT_CHARGING },
  13. ^
  14. device/htc/pme/recovery/chargeled/chargeled.cpp:65:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  15. { "Full", BATTERY_STATUS_FULL },
  16. ^
  17. 5 warnings generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement