controls_mui.c: In function 'controls_mui':
controls_mui.c:283: error: expected expression before ')' token
controls_mui.c:335: error: expected expression before ')' token
controls_mui.c:358: error: expected expression before ')' token
controls_mui.c:377: error: expected expression before ')' token
controls_mui.c: In function 'mui_controls_doublestart':
controls_mui.c:501: error: expected expression before ')' token
controls_mui.c: In function 'mui_controls_change_directory':
controls_mui.c:661: error: expected expression before ')' token
controls_mui.c: In function 'mui_controls_directory_list':
controls_mui.c:700: error: expected expression before ')' token
controls_mui.c: In function 'mui_controls_open_directories_ban_list':
controls_mui.c:760: error: expected expression before ')' token
controls_mui.c: In function 'mui_controls_file_list':
controls_mui.c:784: error: expected expression before ')' token
controls_mui.c: In function 'mui_controls_open_files_ban_list':
controls_mui.c:845: error: expected expression before ')' token
controls_mui.c: In function 'mui_controls_modules_save':
controls_mui.c:870: error: expected expression before ')' token
controls_mui.c: In function 'mui_controls_set_user_rating':
controls_mui.c:974: error: expected expression before ')' token
controls_mui.c: In function 'mui_prefs_maximum_log_size_changed':
controls_mui.c:1053: error: expected expression before ')' token
controls_mui.c: In function 'mui_log_save':
controls_mui.c:1269: error: expected expression before ')' token
controls_mui.c: In function 'mui_log_clear':
controls_mui.c:1342: error: expected expression before ')' token
controls_mui.c: In function '_display_current_root_directory':
controls_mui.c:1365: error: expected expression before ')' token
controls_mui.c: In function '_display_current_directory':
controls_mui.c:1377: error: expected expression before ')' token
controls_mui.c: In function '_display_current_file':
controls_mui.c:1386: error: expected expression before ')' token
controls_mui.c: In function '_display_current_modules':
controls_mui.c:1402: error: expected expression before ')' token
controls_mui.c: In function '_display_current_ratings':
controls_mui.c:1420: error: expected expression before ')' token
controls_mui.c:1429: error: expected expression before ')' token
controls_mui.c:1438: error: expected expression before ')' token
controls_mui.c:1447: error: expected expression before ')' token
controls_mui.c:1455: error: expected expression before ')' token
controls_mui.c: In function '_display_last_message':
controls_mui.c:1463: error: expected expression before ')' token
controls_mui.c: In function '_update_display_prefs':
controls_mui.c:1482: error: expected expression before ')' token
controls_mui.c:1487: error: expected expression before ')' token
controls_mui.c:1492: error: expected expression before ')' token
controls_mui.c:1497: error: expected expression before ')' token
controls_mui.c:1502: error: expected expression before ')' token
controls_mui.c:1507: error: expected expression before ')' token
controls_mui.c:1512: error: expected expression before ')' token
controls_mui.c: In function '_enable_gadgets_upon_playing_modules':
controls_mui.c:1645: error: expected expression before ')' token
controls_mui.c:1650: error: expected expression before ')' token
controls_mui.c:1655: error: expected expression before ')' token
controls_mui.c:1662: error: expected expression before ')' token
controls_mui.c: In function '_enable_gadgets_for_rating_modules':
controls_mui.c:1676: error: expected expression before ')' token
controls_mui.c:1681: error: expected expression before ')' token
controls_mui.c: In function '_modules_fetcher_start':
controls_mui.c:1769: error: expected expression before ')' token
ftp.c:100: error: expected declaration specifiers or '...' before 'USHORT'
ftp.c: In function 'ftp_get_list_from_data':
ftp.c:271: error: 'USHORT' undeclared (first use in this function)
ftp.c:271: error: (Each undeclared identifier is reported only once
ftp.c:271: error: for each function it appears in.)
ftp.c:271: error: expected ';' before 'port'
ftp.c:289: error: 'port' undeclared (first use in this function)
ftp.c:289: error: too many arguments to function '_get_data_port'
ftp.c: In function 'ftp_check_file_exists':
ftp.c:390: error: 'USHORT' undeclared (first use in this function)
ftp.c:390: error: expected ';' before 'port'
ftp.c:405: error: 'port' undeclared (first use in this function)
ftp.c:405: error: too many arguments to function '_get_data_port'
ftp.c: In function 'ftp_get_file_from_data':
ftp.c:456: error: 'USHORT' undeclared (first use in this function)
ftp.c:456: error: expected ';' before 'port'
ftp.c:471: error: 'port' undeclared (first use in this function)
ftp.c:471: error: too many arguments to function '_get_data_port'
ftp.c: At top level:
ftp.c:536: error: expected ';', ',' or ')' before 'port'
ftp.c:652: error: expected ';', ',' or ')' before 'port'
ftp.c:666: error: expected ';', ',' or ')' before 'port'
ftp.c:718: error: expected declaration specifiers or '...' before 'USHORT'
ftp.c: In function '_get_data_port':
ftp.c:724: error: 'USHORT' undeclared (first use in this function)
ftp.c:724: error: expected ';' before 'p1'
ftp.c:725: error: expected ';' before 'p2'
ftp.c:751: error: 'p1' undeclared (first use in this function)
ftp.c:755: error: 'p2' undeclared (first use in this function)
ftp.c:760: error: 'port' undeclared (first use in this function)
ftp.c: At top level:
ftp.c:1184: error: parameter 1 ('in') has incomplete type
http.c: In function '_http_free_http_response':
http.c:689: error: assignment of read-only location
http.c:694: error: assignment of read-only location
http.c:699: error: assignment of read-only location
http.c:704: error: assignment of read-only location
http.c:709: error: assignment of read-only location
http.c:714: error: assignment of read-only location
http.c: In function '_http_request':
http.c:813: error: 'AF_INET' undeclared (first use in this function)
http.c:813: error: (Each undeclared identifier is reported only once
http.c:813: error: for each function it appears in.)
http.c:813: error: 'SOCK_STREAM' undeclared (first use in this function)
http.c:813: error: 'IPPROTO_TCP' undeclared (first use in this function)
http.c:820: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_in'
http.c:821: error: dereferencing pointer to incomplete type
http.c:822: error: dereferencing pointer to incomplete type
http.c:833: error: dereferencing pointer to incomplete type
http.c:836: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr'
http.c: In function '_replace_content2':
http.c:1055: error: assignment of read-only location
http.c:1061: error: assignment of read-only location
http.c:1069: error: assignment of read-only location
http.c:1077: error: assignment of read-only location
http.c:1083: error: assignment of read-only location
http.c:1089: error: assignment of read-only location
http.c: In function '_free_parsed_url2':
http.c:1585: error: assignment of read-only location
http.c:1590: error: assignment of read-only location
http.c:1595: error: assignment of read-only location
http.c:1600: error: assignment of read-only location
http.c:1605: error: assignment of read-only location
http.c:1610: error: assignment of read-only location
http.c:1615: error: assignment of read-only location
http.c:1620: error: assignment of read-only location
http.c:1625: error: assignment of read-only location
http.c:1630: error: assignment of read-only location
http.c: In function '_hostname_to_ip':
http.c:1652: error: dereferencing pointer to incomplete type
http.c:1652: error: type of formal parameter 1 is incomplete
http.c: At top level:
http.c:1666: error: parameter 1 ('in') has incomplete type
http.c: In function '_inet_pton':
http.c:1747: error: 'AF_INET' undeclared (first use in this function)
kvs.c: In function '_kvs_resize_pairs':
kvs.c:286: error: assignment of read-only location
kvs.c:291: error: assignment of read-only location
kvs.c:292: error: assignment of read-only location
log.c: In function 'log_init_outputs':
log.c:109: error: expected expression before ')' token
log.c:117: error: expected expression before ')' token
log.c: In function '_log_print_problem':
log.c:198: error: expected expression before ')' token
log.c:207: error: expected expression before ')' token
mui.c: In function 'mui_init_ui':
mui.c:690: error: expected expression before ')' token
mui.c:710: error: expected expression before ')' token
mui.c:728: error: expected expression before ')' token
mui.c:748: error: expected expression before ')' token
mui.c:777: error: expected expression before ')' token
mui.c:797: error: expected expression before ')' token
mui.c:826: error: expected expression before ')' token
mui.c:838: error: expected expression before ')' token
mui.c:858: error: expected expression before ')' token
mui.c:878: error: expected expression before ')' token
mui.c:898: error: expected expression before ')' token
mui.c:918: error: expected expression before ')' token
mui.c:937: error: expected expression before ')' token
mui.c:955: error: expected expression before ')' token
mui.c:1585: error: expected expression before ')' token
mui.c: In function '_mui_close_ui':
mui.c:1634: error: assignment of read-only location
mui.c: In function 'mui_child_window_list_open':
mui.c:1710: error: 'MUIM_Window_SetCycleChain' undeclared (first use in this function)
mui.c:1710: error: (Each undeclared identifier is reported only once
mui.c:1710: error: for each function it appears in.)
mui.c:1730: error: expected expression before ')' token
mui.c: In function 'mui_child_window_list_update':
mui.c:1762: error: expected expression before ')' token
mui.c:1782: error: expected expression before ')' token
mui.c: In function '_mui_child_window_list_close':
mui.c:1810: error: expected expression before ')' token
mui.c:1826: error: expected expression before ')' token
players.c: In function '_start_player_simply':
players.c:1131: error: expected expression before ')' token
players.c: In function '_player_listener_start':
players.c:1171: error: expected expression before ')' token
prefs.c: In function '_build_list_of_images_sets':
prefs.c:649: error: 'alphasort' undeclared (first use in this function)
prefs.c:649: error: (Each undeclared identifier is reported only once
prefs.c:649: error: for each function it appears in.)
xad.c:45:29: error: proto/xadmaster.h: No such file or directory
xad.c: In function 'xad_extract_archive':
xad.c:94: error: 'XADOBJ_ARCHIVEINFO' undeclared (first use in this function)
xad.c:94: error: (Each undeclared identifier is reported only once
xad.c:94: error: for each function it appears in.)
xad.c:105: error: 'XAD_INFILENAME' undeclared (first use in this function)
xad.c:115: error: dereferencing pointer to incomplete type
xad.c:126: error: dereferencing pointer to incomplete type
xad.c:129: error: dereferencing pointer to incomplete type
xad.c:129: error: 'XADFIF_LINK' undeclared (first use in this function)
xad.c:129: error: dereferencing pointer to incomplete type
xad.c:129: error: 'XADFIF_DIRECTORY' undeclared (first use in this function)
xad.c:132: error: dereferencing pointer to incomplete type
xad.c:133: error: 'XAD_OUTFILENAME' undeclared (first use in this function)
xad.c:135: error: 'XAD_ENTRYNUMBER' undeclared (first use in this function)
xad.c:136: error: dereferencing pointer to incomplete type
xad.c:166: error: dereferencing pointer to incomplete type
z_posix_convfile.c:10:27: error: sys/syslimits.h: No such file or directory
z_posix_convfile.c: In function '__convert_path':
z_posix_convfile.c:15: error: 'PATH_MAX' undeclared (first use in this function)
z_posix_convfile.c:15: error: (Each undeclared identifier is reported only once
z_posix_convfile.c:15: error: for each function it appears in.)
z_posix_dir.c:23:24: error: sys/dirent.h: No such file or directory
z_posix_dir.c:30: error: field 'dent' has incomplete type
z_posix_dir.c: In function 'readdir':
z_posix_dir.c:116: error: 'DT_FIFO' undeclared (first use in this function)
z_posix_dir.c:116: error: (Each undeclared identifier is reported only once
z_posix_dir.c:116: error: for each function it appears in.)
z_posix_dir.c:118: error: 'DT_LNK' undeclared (first use in this function)
z_posix_dir.c:122: error: 'DT_DIR' undeclared (first use in this function)
z_posix_dir.c:124: error: 'DT_REG' undeclared (first use in this function)
z_posix_scandir.c: In function 'scandir':
z_posix_scandir.c:55: error: 'struct dirent' has no member named 'd_namlen'
z_posix_scandir.c:56: error: 'struct dirent' has no member named 'd_fileno'
z_posix_scandir.c:56: error: 'struct dirent' has no member named 'd_fileno'
z_posix_scandir.c:59: error: 'struct dirent' has no member named 'd_namlen'
z_posix_scandir.c:59: error: 'struct dirent' has no member named 'd_namlen'
z_posix_scandir.c:60: error: 'struct dirent' has no member named 'd_namlen'
make: *** [Makefile:60: blacklists.o] Ошибка 1
Everything is possible, but it needs a decent fix.
For example, main.c:
// Tygre 2017/04/17: Stack size
// I ask the compilers to set a stack of 32KB.
#ifdef __VBCC__
size_t __stack = 32768;
#else
#ifdef __STORM__
LONG __stack = 32768;
#else
#error Unknow compiler
#endif
#endif
i386-aros-gcc - unknown compiler? Really?!