Code:
##### COMPILE GSC_ASTAR.CPP #####
##### COMPILE GSC_MYSQL.CPP #####
gsc_mysql.cpp: In function ‘void gsc_mysql_free_result()’:
gsc_mysql.cpp:529:15: warning: NULL used in arithmetic [-Wpointer-arith]
if(result == NULL)
^
gsc_mysql.cpp: In function ‘int gsc_mysql_test_0()’:
gsc_mysql.cpp:880:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘my_ulonglong {aka long long unsigned int}’ [-Wformat=]
printf("affected rows: %d\n", mysql_affected_rows(my));
^
gsc_mysql.cpp:892:54: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘my_ulonglong {aka long long unsigned int}’ [-Wformat=]
printf("query-num rows: %d\n", mysql_num_rows(query));
^
gsc_mysql.cpp: In function ‘int gsc_mysql_test_1()’:
gsc_mysql.cpp:972:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("stmt->stmt_id = %d\n", stmt->stmt_id);
^
gsc_mysql.cpp:973:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("stmt->prefetch_rows = %d\n", stmt->prefetch_rows);
^
gsc_mysql.cpp:993:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("stmt->stmt_id = %d\n", stmt->stmt_id);
^
gsc_mysql.cpp:994:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("stmt->prefetch_rows = %d\n", stmt->prefetch_rows); // i dont know
^
gsc_mysql.cpp:1146:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘my_ulonglong {aka long long unsigned int}’ [-Wformat=]
printf("affected rows: %d\n", mysql_affected_rows(my));
^
gsc_mysql.cpp:1158:54: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘my_ulonglong {aka long long unsigned int}’ [-Wformat=]
printf("query-num rows: %d\n", mysql_num_rows(query));
^
##### COMPILE SERVER.CPP #####
cc1: warning: command line option ‘-std=gnu++11’ is valid for C++/ObjC++ but not for C [enabled by default]
server.c: In function ‘mythread’:
server.c:244:6: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘void **’ [-Wformat=]
sscanf(arg_from, "%x", &from); // prepare from-pointer
^
server.c:311:7: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘float **’ [-Wformat=]
sscanf(address, "%x", &ptr_float);
^
server.c:328:7: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘int **’ [-Wformat=]
sscanf(address, "%x", &ptr);
^
server.c:345:7: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘unsigned char **’ [-Wformat=]
sscanf(address, "%x", &ptr);
^
server.c:387:6: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘char **’ [-Wformat=]
sscanf(arg_from, "%x", &from);
^
server.c:388:6: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘char **’ [-Wformat=]
sscanf(arg_to, "%x", &to);
^
server.c:433:6: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘unsigned int **’ [-Wformat=]
sscanf(arg_address, "%x", &address);
^
server.c:460:6: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘void **’ [-Wformat=]
sscanf(arg_addr, "%x", &addr);
^
server.c: In function ‘cdecl_injected_shell’:
server.c:718:5: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘unsigned int **’ [-Wformat=]
sscanf(buffer, "%x", &address);
^
##### COMPILE GSC_MEMORY.CPP #####
##### COMPILE cracking.CPP #####
##### COMPILE GSC_MATH.CPP #####
Although it is the same output as in my first post, I hope this helps.