MantisBT - Zandronum
View Issue Details
0003403Zandronum[All Projects] Suggestionpublic2018-03-08 21:322018-03-08 21:32
Filystea 
 
lowtrivialalways
newopen 
 
 
0003403: hu
/home/hue/bin/zan/zanstab/src/./gl/system/gl_system.h:53:10: fatal error:
      'malloc.h' file not found
#include <malloc.h>
         ^~~~~~~~~~

and

/zanstab/src/sound/music_mus_midiout.cpp:37:10: fatal error:
      'malloc.h' file not found

swap that to stdlib.h ( there are places this can not be done (glibc crap) but here? Why keep that thing?


_______________

/home/jew/bin/zan/zanstab/src/sdl/crashcatcher.c:8:26: fatal error: sys/ucontext.h: No such file or directory
 #include <sys/ucontext.h>

commented header out. No complains.


____________


/home/dis/bin/zan/zanstab/src/sdl/i_system.cpp:697:7: error: use of undeclared
      identifier 'WIFEXITED'
                        if(WIFEXITED(status) && (WEXITSTATUS(status) == ...
                           ^

should have #include <sys/wait.h>


_______________


/home/alos/bin/zan/zanstab/src/sound/i_music.cpp:47:10:: not found
$ 'wordexp.h' file not found

commented header out. No complains.

___

    an/zanstab/upnpnat/xmlParser.cpp:661:27: error: cast from
      pointer to smaller type 'char' loses information
        lpszNew[cbData] = (TCHAR)NULL;


This piece of baby was beyond me. I swaped 0 with NULL.

there were few more but those were hard to be called perrors. Mostly the os lacking, still with possible walk arounds.
No tags attached.
Issue History
2018-03-08 21:32FilysteaNew Issue

There are no notes attached to this issue.