aldostools / webMAN-MOD

Extended services for PS3 console (web server, ftp server, netiso, ntfs, ps3mapi, etc.)
https://aldostools.github.io/webMAN-MOD/
GNU General Public License v3.0
1.3k stars 176 forks source link

WM wont compile if i disable "define DEBUG_MEM" or "define WM_REQUEST" in flags #1117

Closed korn3r closed 1 month ago

korn3r commented 1 month ago

Hi. If i disable any of those, webman mod (full edition) doesnt compile.

//#define DEBUG_MEM

In file included from main.c:453:
include/ps3mapi/ps3mapi.h: In function 'ps3mapi_find_offset':
include/ps3mapi/ps3mapi.h:740: warning: implicit declaration of function 'ps3mapi_get_memory'
include/ps3mapi/ps3mapi.h:740: warning: nested extern declaration of 'ps3mapi_get_memory'
include/ps3mapi/ps3mapi.h: In function 'ps3mapi_patch_process':
include/ps3mapi/ps3mapi.h:767: warning: implicit declaration of function 'poke_chunk_lv1'
include/ps3mapi/ps3mapi.h:767: warning: nested extern declaration of 'poke_chunk_lv1'
include/ps3mapi/ps3mapi.h:771: warning: implicit declaration of function 'poke_chunk_lv2'
include/ps3mapi/ps3mapi.h:771: warning: nested extern declaration of 'poke_chunk_lv2'
include/ps3mapi/ps3mapi.h: In function 'ps3mapi_getmem':
include/ps3mapi/ps3mapi.h:891: warning: implicit declaration of function 'ps3mapi_dump_process'
include/ps3mapi/ps3mapi.h:891: warning: nested extern declaration of 'ps3mapi_dump_process'
In file included from include/www/www_client.h:717,
                 from main.c:476:
include/www/../cmd/nobd.h: In function 'do_web_command':
include/www/../cmd/nobd.h:29: warning: implicit declaration of function 'ps3mapi_find_peek_poke_hexview'
include/www/../cmd/nobd.h:29: warning: nested extern declaration of 'ps3mapi_find_peek_poke_hexview'

//#define WM_REQUEST

In file included from main.c:469:
include/mount/mount.h: In function 'mount_thread':
include/mount/mount.h:1570: warning: implicit declaration of function 'parse_script'
include/mount/mount.h:1570: warning: nested extern declaration of 'parse_script'
In file included from main.c:474:
include/poll/poll.h: In function 'poll_start_play_time':
include/poll/poll.h:29: warning: implicit declaration of function 'start_event'
include/poll/poll.h:29: warning: nested extern declaration of 'start_event'
main.c: At top level:
include/file/file_copy.h:446: warning: 'force_folder_copy' defined but not used
include/file/file.h:447: warning: 'wait_for_user' defined but not used
aldostools commented 1 month ago

Check the latest commit