Advertisement
dominus

Untitled

Dec 26th, 2019
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 KB | None | 0 0
  1. zip.cc:451:9: warning: use of old-style cast [-Wold-style-cast]
  2. err = deflateInit2(&file->ci.stream, level,
  3. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. /opt/x86_64/include/zlib.h:1799:51: note: expanded from macro 'deflateInit2'
  5. (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
  6. ^ ~~~~~~~~~~~~~~~~
  7. unzip.cc:861:9: warning: use of old-style cast [-Wold-style-cast]
  8. err = inflateInit2(&pfile_in_zip_read_info->stream, -MAX_WBITS);
  9. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  10. /opt/x86_64/include/zlib.h:1802:25: note: expanded from macro 'inflateInit2'
  11. (int)sizeof(z_stream))
  12. ^ ~~~~~~~~~~~~~~~~
  13. 1 warning generated.
  14. 1 warning generated.
  15. utils.cc:684:16: warning: use of old-style cast [-Wold-style-cast]
  16. string path((const char *)buf);
  17. ^ ~~~
  18. 1 warning generated.
  19.  
  20. CoreMidiDriver.cpp:62:27: warning: zero as null pointer constant
  21. [-Wzero-as-null-pointer-constant]
  22. CFStringRef midiname = 0;
  23. ^
  24. nullptr
  25. CoreMidiDriver.cpp:157:31: warning: use of old-style cast [-Wold-style-cast]
  26. MIDIPacketList *packetList = (MIDIPacketList *)buf;
  27. ^ ~~~
  28. CoreMidiDriver.cpp:152:39: warning: unused parameter 'status'
  29. [-Wunused-parameter]
  30. void CoreMidiDriver::send_sysex(uint8 status, const uint8 *msg, uint16 length) {
  31. ^
  32. CoreAudioMidiDriver.cpp:85:11: warning: zero as null pointer constant
  33. [-Wzero-as-null-pointer-constant]
  34. _auGraph(0) {
  35. ^
  36. nullptr
  37. CoreAudioMidiDriver.cpp:194:15: warning: zero as null pointer constant
  38. [-Wzero-as-null-pointer-constant]
  39. _auGraph = 0;
  40. ^
  41. nullptr
  42. CoreAudioMidiDriver.cpp:161:9: warning: variable 'err' is used uninitialized
  43. whenever 'if' condition is false [-Wsometimes-uninitialized]
  44. if (url) {
  45. ^~~
  46. CoreAudioMidiDriver.cpp:170:10: note: uninitialized use occurs here
  47. if (!err) {
  48. ^~~
  49. CoreAudioMidiDriver.cpp:161:5: note: remove the 'if' if its condition is always
  50. true
  51. if (url) {
  52. ^~~~~~~~~
  53. CoreAudioMidiDriver.cpp:146:14: note: initialize the variable 'err' to silence
  54. this warning
  55. OSErr err;
  56. ^
  57. = 0
  58. CoreAudioMidiDriver.cpp:205:14: warning: zero as null pointer constant
  59. [-Wzero-as-null-pointer-constant]
  60. _auGraph = 0;
  61. ^
  62. nullptr
  63. 3 warnings generated.
  64. 4 warnings generated.
  65.  
  66.  
  67. In file included from XMidiFile.cpp:22:
  68. ./XMidiFile.h:55:16: warning: private field 'notes_on' is not used
  69. [-Wunused-private-field]
  70. XMidiEvent *notes_on;
  71. ^
  72. 1 warning generated.
  73.  
  74. keys.cc:414:34: warning: zero as null pointer constant
  75. [-Wzero-as-null-pointer-constant]
  76. Get_click(x, y, Mouse::hand, 0, false, scroll);
  77. ^
  78. nullptr
  79. keys.cc:449:13: warning: use of old-style cast [-Wold-style-cast]
  80. key.mod = (SDL_Keymod)(key.mod | KMOD_ALT);
  81. ^ ~~~~~~~~~~~~~~~~~~~~
  82. 2 warnings generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement