Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- zip.cc:451:9: warning: use of old-style cast [-Wold-style-cast]
- err = deflateInit2(&file->ci.stream, level,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /opt/x86_64/include/zlib.h:1799:51: note: expanded from macro 'deflateInit2'
- (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
- ^ ~~~~~~~~~~~~~~~~
- unzip.cc:861:9: warning: use of old-style cast [-Wold-style-cast]
- err = inflateInit2(&pfile_in_zip_read_info->stream, -MAX_WBITS);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /opt/x86_64/include/zlib.h:1802:25: note: expanded from macro 'inflateInit2'
- (int)sizeof(z_stream))
- ^ ~~~~~~~~~~~~~~~~
- 1 warning generated.
- 1 warning generated.
- utils.cc:684:16: warning: use of old-style cast [-Wold-style-cast]
- string path((const char *)buf);
- ^ ~~~
- 1 warning generated.
- CoreMidiDriver.cpp:62:27: warning: zero as null pointer constant
- [-Wzero-as-null-pointer-constant]
- CFStringRef midiname = 0;
- ^
- nullptr
- CoreMidiDriver.cpp:157:31: warning: use of old-style cast [-Wold-style-cast]
- MIDIPacketList *packetList = (MIDIPacketList *)buf;
- ^ ~~~
- CoreMidiDriver.cpp:152:39: warning: unused parameter 'status'
- [-Wunused-parameter]
- void CoreMidiDriver::send_sysex(uint8 status, const uint8 *msg, uint16 length) {
- ^
- CoreAudioMidiDriver.cpp:85:11: warning: zero as null pointer constant
- [-Wzero-as-null-pointer-constant]
- _auGraph(0) {
- ^
- nullptr
- CoreAudioMidiDriver.cpp:194:15: warning: zero as null pointer constant
- [-Wzero-as-null-pointer-constant]
- _auGraph = 0;
- ^
- nullptr
- CoreAudioMidiDriver.cpp:161:9: warning: variable 'err' is used uninitialized
- whenever 'if' condition is false [-Wsometimes-uninitialized]
- if (url) {
- ^~~
- CoreAudioMidiDriver.cpp:170:10: note: uninitialized use occurs here
- if (!err) {
- ^~~
- CoreAudioMidiDriver.cpp:161:5: note: remove the 'if' if its condition is always
- true
- if (url) {
- ^~~~~~~~~
- CoreAudioMidiDriver.cpp:146:14: note: initialize the variable 'err' to silence
- this warning
- OSErr err;
- ^
- = 0
- CoreAudioMidiDriver.cpp:205:14: warning: zero as null pointer constant
- [-Wzero-as-null-pointer-constant]
- _auGraph = 0;
- ^
- nullptr
- 3 warnings generated.
- 4 warnings generated.
- In file included from XMidiFile.cpp:22:
- ./XMidiFile.h:55:16: warning: private field 'notes_on' is not used
- [-Wunused-private-field]
- XMidiEvent *notes_on;
- ^
- 1 warning generated.
- keys.cc:414:34: warning: zero as null pointer constant
- [-Wzero-as-null-pointer-constant]
- Get_click(x, y, Mouse::hand, 0, false, scroll);
- ^
- nullptr
- keys.cc:449:13: warning: use of old-style cast [-Wold-style-cast]
- key.mod = (SDL_Keymod)(key.mod | KMOD_ALT);
- ^ ~~~~~~~~~~~~~~~~~~~~
- 2 warnings generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement