SHARE
TWEET

Untitled

a guest Oct 21st, 2011 282 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ make
  2. g++ -c -I/home/c7p/include -I./src -I./obj -g ./src/usbnxt.cc -o ./obj/usbnxt.o
  3. ./src/usbnxt.cc: In member function ‘int UsbNxt::_fails(const char*)’:
  4. ./src/usbnxt.cc:91:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  5. ./src/usbnxt.cc: In member function ‘int UsbNxt::battery_level()’:
  6. ./src/usbnxt.cc:121:2: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  7. ./src/usbnxt.cc: In member function ‘int UsbNxt::list_files()’:
  8. ./src/usbnxt.cc:233:3: error: cast from ‘const char*’ to ‘unsigned int’ loses precision [-fpermissive]
  9. ./src/usbnxt.cc:243:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  10. ./src/usbnxt.cc:261:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  11. ./src/usbnxt.cc: In member function ‘int UsbNxt::download(char*)’:
  12. ./src/usbnxt.cc:303:68: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  13. ./src/usbnxt.cc:312:3: error: cast from ‘char*’ to ‘unsigned int’ loses precision [-fpermissive]
  14. ./src/usbnxt.cc:320:79: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  15. ./src/usbnxt.cc:335:76: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  16. ./src/usbnxt.cc:346:3: error: cast from ‘char*’ to ‘unsigned int’ loses precision [-fpermissive]
  17. ./src/usbnxt.cc:363:79: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  18. ./src/usbnxt.cc:374:59: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  19. ./src/usbnxt.cc:402:79: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  20. ./src/usbnxt.cc:420:74: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  21. ./src/usbnxt.cc: In member function ‘bool UsbNxt::_file_exists(char*)’:
  22. ./src/usbnxt.cc:434:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  23. ./src/usbnxt.cc:438:3: error: cast from ‘char*’ to ‘unsigned int’ loses precision [-fpermissive]
  24. ./src/usbnxt.cc: In member function ‘int UsbNxt::_file_delete(char*)’:
  25. ./src/usbnxt.cc:455:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  26. ./src/usbnxt.cc:459:3: error: cast from ‘char*’ to ‘unsigned int’ loses precision [-fpermissive]
  27. ./src/usbnxt.cc: In member function ‘int UsbNxt::upload(char*)’:
  28. ./src/usbnxt.cc:488:63: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  29. ./src/usbnxt.cc:496:66: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  30. ./src/usbnxt.cc:504:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  31. ./src/usbnxt.cc:510:38: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  32. ./src/usbnxt.cc:520:68: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  33. ./src/usbnxt.cc:523:63: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  34. ./src/usbnxt.cc:534:3: error: cast from ‘char*’ to ‘unsigned int’ loses precision [-fpermissive]
  35. ./src/usbnxt.cc:551:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  36. ./src/usbnxt.cc:574:5: error: cast from ‘char*’ to ‘unsigned int’ loses precision [-fpermissive]
  37. ./src/usbnxt.cc:601:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  38. make: *** [obj/usbnxt.o] Error 1
  39.  
  40.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top