Skip to content

Instantly share code, notes, and snippets.

@abathur
Created November 10, 2017 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abathur/13ec4fe5dc5bea5feca5a2f16f8cb266 to your computer and use it in GitHub Desktop.
Save abathur/13ec4fe5dc5bea5feca5a2f16f8cb266 to your computer and use it in GitHub Desktop.
gcc -O2 -g -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -lpython3.5m access_check.o actions.o array.o arraylist.o backend.o bitstrings.o call_out.o closure.o comm.o dumpstat.o ed.o efuns.o files.o gcollect.o hash.o heartbeat.o interpret.o lex.o main.o mapping.o md5.o mempools.o mregex.o mstrings.o object.o otable.o parser.o parse.o pkg-iksemel.o pkg-xml2.o pkg-idna.o pkg-mccp.o pkg-mysql.o pkg-gcrypt.o pkg-json.o pkg-python.o pkg-pgsql.o pkg-sqlite.o pkg-tls.o pkg-openssl.o pkg-gnutls.o port.o ptrtable.o random.o regexp.o sha1.o simulate.o simul_efun.o stdstrings.o strfuns.o structs.o sprintf.o swap.o types.o wiz_list.o xalloc.o -o ldmud -lnsl -lm -lcrypt -lssl -lcrypto -lpcre -lmysqlclient -lsqlite3 -ljson-c -lpython3.5m -liksemel -lz
backend.o: In function `backend':
/home/ubuntu/ldmud/src/backend.c:891: undefined reference to `python_call_hook'
closure.o: In function `closure_to_string':
/home/ubuntu/ldmud/src/closure.c:6092: undefined reference to `closure_python_efun_to_string'
comm.o: In function `get_message':
/home/ubuntu/ldmud/src/comm.c:2356: undefined reference to `python_set_fds'
/home/ubuntu/ldmud/src/comm.c:2439: undefined reference to `python_handle_fds'
/home/ubuntu/ldmud/src/comm.c:2439: undefined reference to `python_handle_fds'
gcollect.o: In function `garbage_collection':
/home/ubuntu/ldmud/src/gcollect.c:2201: undefined reference to `python_clear_refs'
/home/ubuntu/ldmud/src/gcollect.c:2421: undefined reference to `python_count_refs'
interpret.o: In function `eval_instruction':
/home/ubuntu/ldmud/src/interpret.c:13836: undefined reference to `call_python_efun'
interpret.o: In function `int_call_lambda':
/home/ubuntu/ldmud/src/interpret.c:17152: undefined reference to `call_python_efun'
interpret.o: In function `check_a_lot_ref_counts':
/home/ubuntu/ldmud/src/interpret.c:19248: undefined reference to `count_python_extra_refs'
lex.o: In function `efun_defined':
/home/ubuntu/ldmud/src/lex.c:7345: undefined reference to `is_python_efun'
lex.o: In function `symbol_efun_str':
/home/ubuntu/ldmud/src/lex.c:1532: undefined reference to `is_python_efun'
/home/ubuntu/ldmud/src/lex.c:1585: undefined reference to `is_python_efun'
/home/ubuntu/ldmud/src/lex.c:1532: undefined reference to `is_python_efun'
lex.o: In function `closure':
/home/ubuntu/ldmud/src/lex.c:4153: undefined reference to `is_python_efun'
lex.o:/home/ubuntu/ldmud/src/lex.c:4222: more undefined references to `is_python_efun' follow
main.o: In function `main':
/home/ubuntu/ldmud/src/main.c:344: undefined reference to `python_startup_script'
main.o: In function `eval_arg':
/home/ubuntu/ldmud/src/main.c:2902: undefined reference to `python_startup_script'
/home/ubuntu/ldmud/src/main.c:2905: undefined reference to `python_startup_script'
main.o: In function `main':
/home/ubuntu/ldmud/src/main.c:564: undefined reference to `pkg_python_init'
main.o: In function `eval_arg':
/home/ubuntu/ldmud/src/main.c:2907: undefined reference to `python_startup_script'
object.o: In function `save_closure':
/home/ubuntu/ldmud/src/object.c:6050: undefined reference to `closure_python_efun_to_string'
object.o: In function `init_object_variables':
/home/ubuntu/ldmud/src/object.c:482: undefined reference to `python_call_hook_object'
parser.o: In function `define_variable':
/home/ubuntu/ldmud/src/prolang.y:4440: undefined reference to `is_python_efun'
parser.o: In function `redeclare_variable':
/home/ubuntu/ldmud/src/prolang.y:4540: undefined reference to `is_python_efun'
parser.o: In function `inherit_program':
/home/ubuntu/ldmud/src/prolang.y:16012: undefined reference to `is_python_efun'
/home/ubuntu/ldmud/src/prolang.y:16000: undefined reference to `is_python_efun'
parser.o: In function `yyparse':
/home/ubuntu/ldmud/src/prolang.y:12638: undefined reference to `is_python_efun'
simulate.o: In function `destruct':
/home/ubuntu/ldmud/src/simulate.c:2658: undefined reference to `python_call_hook_object'
collect2: error: ld returned 1 exit status
Makefile:126: recipe for target 'ldmud' failed
make: *** [ldmud] Error 1
./mk-patchlevel.sh
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o access_check.o access_check.c
access_check.c: In function ‘read_access_file’:
access_check.c:342:17: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infp, "%c %1[=]", &c, c2);
^
access_check.c:362:29: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infp, "%d %1[,:] ", &k, c2);
^
access_check.c:389:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(message, (int)sizeof(message)-1, infp);
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o mkfunc.o mkfunc.c
In file included from mkfunc.c:20:0:
make_func.y: In function ‘yylex1’:
make_func.y:2217:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line_buffer, MAKE_FUNC_MAXLINE, fpr);
^
make_func.y:2252:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line_buffer, MAKE_FUNC_MAXLINE, fpr);
^
mkfunc.c: In function ‘skip_to’:
make_func.y:1386:20: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (p < b+sizeof b-1)
^
In file included from mkfunc.c:20:0:
mkfunc.c: In function ‘yyparse’:
y.tab.c:1788:6: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
In file included from mkfunc.c:20:0:
make_func.y: In function ‘skip_to’:
make_func.y:1386:20: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (p < b+sizeof b-1)
^
make_func.y:1353:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
skip_to (char mark, const char *token, const char *atoken)
^
make_func.y:1386:20: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (p < b+sizeof b-1)
^
make_func.y:1353:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
skip_to (char mark, const char *token, const char *atoken)
^
make_func.y:1386:20: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (p < b+sizeof b-1)
^
make_func.y:1386:20: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
make_func.y:1386:20: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
make_func.y:1353:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
skip_to (char mark, const char *token, const char *atoken)
^
make_func.y:1353:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
make_func.y:1353:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
make_func.y:1386:20: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (p < b+sizeof b-1)
^
make_func.y:1386:20: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
make_func.y:1386:20: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
In file included from mkfunc.c:20:0:
y.tab.c: In function ‘yyparse’:
y.tab.c:1788:6: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
y.tab.c:1788:6: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o hash.o hash.c
gcc -O2 -g -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -lpython3.5m mkfunc.o hash.o -o mkfunc
rm -f stdstrings.c
rm -f stdstrings.h
./mkfunc strings
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o actions.o actions.c
In file included from actions.c:69:0:
actions.c: In function ‘save_command_context’:
object.h:161:86: warning: right-hand operand of comma expression has no effect [-Wunused-value]
, get_txt((o)->name), (o)->ref, from, __FILE__, __LINE__) : 0, \
^
actions.c:251:9: note: in expansion of macro ‘ref_object’
ref_object(marked_command_giver, "save_command_context");
^
object.h:161:86: warning: right-hand operand of comma expression has no effect [-Wunused-value]
, get_txt((o)->name), (o)->ref, from, __FILE__, __LINE__) : 0, \
^
actions.c:254:9: note: in expansion of macro ‘ref_object’
ref_object(command_giver, "save_command_context");
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o array.o array.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o arraylist.o arraylist.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o backend.o backend.c
backend.c: In function ‘backend’:
backend.c:677:19: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(1, buf, strlen(buf));
^
backend.c:696:19: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(1, buf, strlen(buf));
^
backend.c:715:25: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(1, shut_msg, strlen(shut_msg));
^
backend.c:729:25: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(1, buf, strlen(buf));
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o bitstrings.o bitstrings.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o call_out.o call_out.c
In file included from call_out.c:38:0:
call_out.c: In function ‘v_call_out’:
object.h:161:86: warning: right-hand operand of comma expression has no effect [-Wunused-value]
, get_txt((o)->name), (o)->ref, from, __FILE__, __LINE__) : 0, \
^
call_out.c:203:9: note: in expansion of macro ‘ref_object’
ref_object(command_giver, "f_call_out"); /* Bump its ref */
^
rm -f instrs.h
rm -f efun_defs.c
./mkfunc instrs
Primary codes: 182
Primary efuns: 23
Tabled efuns: 184 (19 + 99 + 51 + 14 + 1)
Tabled vararg efuns: 65
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o closure.o closure.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o comm.o comm.c
In file included from simulate.h:12:0,
from comm.h:11,
from comm.c:119:
svalue.h:203:0: warning: "T_NULL" redefined
#define T_NULL 0xf
^
In file included from /usr/include/arpa/nameser.h:531:0,
from /usr/include/resolv.h:65,
from comm.c:99:
/usr/include/arpa/nameser_compat.h:139:0: note: this is the location of the previous definition
#define T_NULL ns_t_null
^
In file included from comm.c:131:0:
comm.c: In function ‘set_snoop’:
object.h:161:86: warning: right-hand operand of comma expression has no effect [-Wunused-value]
, get_txt((o)->name), (o)->ref, from, __FILE__, __LINE__) : 0, \
^
comm.c:4561:9: note: in expansion of macro ‘ref_object’
ref_object(me, "set_snoop");
^
comm.c: In function ‘send_erq’:
comm.c:5798:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(uint32*)buf = htonl(erq_pending_len);
^
In file included from comm.c:131:0:
comm.c: In function ‘f_exec’:
object.h:161:86: warning: right-hand operand of comma expression has no effect [-Wunused-value]
, get_txt((o)->name), (o)->ref, from, __FILE__, __LINE__) : 0, \
^
comm.c:6843:13: note: in expansion of macro ‘ref_object’
ref_object(ob, "exec");
^
comm.c: In function ‘urgent_data_handler’:
comm.c:1195:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(2, "received urgent data\n", 21);
^
comm.c: In function ‘new_player’:
comm.c:177:27: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
# define socket_write write
^
comm.c:3564:9: note: in expansion of macro ‘socket_write’
socket_write(new_socket, message, strlen(message));
^
comm.c:177:27: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
# define socket_write write
^
comm.c:3565:9: note: in expansion of macro ‘socket_write’
socket_write(new_socket, "\r\n", 2);
^
comm.c:177:27: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
# define socket_write write
^
comm.c:3584:13: note: in expansion of macro ‘socket_write’
socket_write(new_socket, get_txt(msg), mstrsize(msg));
^
comm.c:177:27: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
# define socket_write write
^
comm.c:3589:13: note: in expansion of macro ‘socket_write’
socket_write(new_socket, message, strlen(message));
^
comm.c:177:27: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
# define socket_write write
^
comm.c:3602:9: note: in expansion of macro ‘socket_write’
socket_write(new_socket, message, strlen(message));
^
comm.c:177:27: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
# define socket_write write
^
comm.c:3615:9: note: in expansion of macro ‘socket_write’
socket_write(new_socket, message, strlen(message));
^
comm.c: In function ‘remove_interactive’:
comm.c:177:27: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
# define socket_write write
^
comm.c:3353:9: note: in expansion of macro ‘socket_write’
socket_write(erq_demon, erq_welcome, sizeof erq_welcome);
^
comm.c: In function ‘start_erq_demon’:
comm.c:5563:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(1, "0", 1); /* indicate failure back to the driver */
^
comm.c:5576:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read(sockets[1], &c, 1);
^
comm.c:5519:11: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
while (erqp < &pending_erq[MAX_PENDING_ERQ])
^
comm.c:5519:11: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
comm.c:5501:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
start_erq_demon (const char *suffix, size_t suffixlen)
^
comm.c:5519:11: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
while (erqp < &pending_erq[MAX_PENDING_ERQ])
^
comm.c:5519:11: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o dumpstat.o dumpstat.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o ed.o ed.c
ed.c: In function ‘subst’:
ed.c:1803:18: warning: variable ‘old’ set but not used [-Wunused-but-set-variable]
char *new, *old, buf[MAXLINE];
^
In file included from ed.c:57:0:
ed.c: In function ‘ed_start’:
object.h:161:86: warning: right-hand operand of comma expression has no effect [-Wunused-value]
, get_txt((o)->name), (o)->ref, from, __FILE__, __LINE__) : 0, \
^
ed.c:3193:9: note: in expansion of macro ‘ref_object’
ref_object(exit_ob, "ed_start");
^
ed.c: In function ‘join’:
ed.c:1524:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (cp >= buf + MAXLINE-1 )
^
ed.c: In function ‘optpat’:
ed.c:1662:9: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
&& cp < str + MAXPAT - 1)
^
ed.c: In function ‘join’:
ed.c:1524:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (cp >= buf + MAXLINE-1 )
^
ed.c:1496:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
join (int first, int last)
^
ed.c:1496:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c:1496:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c:1496:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c:1496:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c: In function ‘optpat’:
ed.c:1662:9: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
&& cp < str + MAXPAT - 1)
^
ed.c:1635:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
optpat (void)
^
ed.c:1635:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c:1635:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c: In function ‘docmd’:
ed.c:1377:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if ( sub > outmax )
^
ed.c:2639:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
docmd (Bool glob)
^
ed.c:2639:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c:1377:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if ( sub > outmax )
^
ed.c:1377:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c:2639:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
docmd (Bool glob)
^
ed.c:2639:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c:2639:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
ed.c:1377:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if ( sub > outmax )
^
ed.c:1377:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o efuns.o efuns.c
efuns.c: In function ‘f_configure_driver’:
efuns.c:8432:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘p_int {aka long int}’ [-Wformat=]
errorf("Unexpected value %d for DC_TLS_DHE_PARAMETER.\n",
^
efuns.c:8465:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘p_int {aka long int}’ [-Wformat=]
errorf("Unexpected value %d for DC_TLS_CIPHERLIST.\n",
^
efuns.c: In function ‘f_reverse’:
efuns.c:8143:30: warning: ‘index2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
p2 = p1 + index2 - 1;
^
efuns.c:7965:12: warning: ‘index1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mp_int index1, index2;
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o files.o files.c
files.c: In function ‘f_get_dir’:
files.c:248:10: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
(chdir(mud_lib),MY_FALSE)\
^
files.c:711:14: note: in expansion of macro ‘XOPENDIR’
if ( XOPENDIR(dirp, path) == 0)
^
files.c:251:31: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
#define xclosedir(dir_ptr) (chdir(mud_lib),closedir(dir_ptr))
^
files.c:752:13: note: in expansion of macro ‘xclosedir’
xclosedir(dirp);
^
files.c:251:31: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
#define xclosedir(dir_ptr) (chdir(mud_lib),closedir(dir_ptr))
^
files.c:862:9: note: in expansion of macro ‘xclosedir’
xclosedir(dirp);
^
files.c: In function ‘get_dir_error_handler’:
files.c:251:31: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
#define xclosedir(dir_ptr) (chdir(mud_lib),closedir(dir_ptr))
^
files.c:334:5: note: in expansion of macro ‘xclosedir’
xclosedir(ecp->dirp);
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o gcollect.o gcollect.c
gcollect.c: In function ‘cleanup_object’:
gcollect.c:658:22: warning: variable ‘numValues’ set but not used [-Wunused-but-set-variable]
unsigned long numValues = 0;
^
gcollect.c:657:22: warning: variable ‘didSwap’ set but not used [-Wunused-but-set-variable]
Bool didSwap = MY_FALSE;
^
gcollect.c: In function ‘cleanup_driver_structures’:
gcollect.c:734:22: warning: variable ‘numValues’ set but not used [-Wunused-but-set-variable]
unsigned long numValues = 0;
^
gcollect.c: In function ‘garbage_collection’:
gcollect.c:2491:19: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
svalue_t *res = NULL;
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o heartbeat.o heartbeat.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o interpret.o interpret.c
interpret.c: In function ‘eval_instruction’:
interpret.c:14212:13: warning: variable ‘vars_required’ set but not used [-Wunused-but-set-variable]
int vars_required;
^
interpret.c:15632:19: warning: variable ‘object_name’ set but not used [-Wunused-but-set-variable]
string_t *object_name = NULL;
^
In file included from interpret.c:223:0:
interpret.c: In function ‘assert_master_ob_loaded’:
object.h:161:86: warning: right-hand operand of comma expression has no effect [-Wunused-value]
, get_txt((o)->name), (o)->ref, from, __FILE__, __LINE__) : 0, \
^
interpret.c:16800:9: note: in expansion of macro ‘ref_object’
ref_object(master_ob, "assert_master_ob_loaded");
^
interpret.c: In function ‘eval_instruction’:
interpret.c:310:52: warning: ‘arg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define ERRORF(s) do{inter_pc = pc; inter_sp = sp; errorf s ;}while(0)
^
interpret.c:14218:20: note: ‘arg’ was declared here
svalue_t * arg;
^
rm -f lang.y
./mkfunc lang
bison -y -d -v lang.y
mv y.tab.c lang.c
mv y.tab.h lang.h
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o lex.o lex.c
lex.c: In function ‘refill’:
lex.c:5611:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (p < yytext+MAXLINE-5)
^
lex.c: In function ‘exgetc’:
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6642:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6719:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6661:21: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c: In function ‘handle_define’:
lex.c:5652:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < (m))\
^
lex.c:5683:5: note: in expansion of macro ‘GETALPHA’
GETALPHA(p, q, namebuf+NSIZE-1);
^
lex.c:5845:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < mtext+MLEN-2)
^
lex.c:5652:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < (m))\
^
lex.c:5711:17: note: in expansion of macro ‘GETALPHA’
GETALPHA(p, q, &args[arg][NSIZE-1]);
^
lex.c: In function ‘handle_preprocessor_statement’:
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:4356:9: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c: In function ‘yylex1’:
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c: In function ‘refill’:
lex.c:5611:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (p < yytext+MAXLINE-5)
^
lex.c:5567:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
refill (Bool quote)
^
lex.c:5567:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:5611:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (p < yytext+MAXLINE-5)
^
lex.c:5567:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
refill (Bool quote)
^
lex.c:5567:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:5567:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c: In function ‘exgetc’:
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6642:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6719:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6661:21: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:6612:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
exgetc (void)
^
lex.c:6612:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:6612:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6642:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6642:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6642:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6661:21: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:6612:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
exgetc (void)
^
lex.c:6612:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:6612:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6642:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6719:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:6661:21: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:6612:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
exgetc (void)
^
lex.c:6612:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:6612:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c: In function ‘handle_define’:
lex.c:5652:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < (m))\
^
lex.c:5683:5: note: in expansion of macro ‘GETALPHA’
GETALPHA(p, q, namebuf+NSIZE-1);
^
lex.c:5845:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < mtext+MLEN-2)
^
lex.c:5652:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < (m))\
^
lex.c:5711:17: note: in expansion of macro ‘GETALPHA’
GETALPHA(p, q, &args[arg][NSIZE-1]);
^
lex.c:5637:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
handle_define (char *yyt, Bool quote)
^
lex.c:5637:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:5652:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < (m))\
^
lex.c:5683:5: note: in expansion of macro ‘GETALPHA’
GETALPHA(p, q, namebuf+NSIZE-1);
^
lex.c:5845:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < mtext+MLEN-2)
^
lex.c:5637:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
handle_define (char *yyt, Bool quote)
^
lex.c:5637:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:5637:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:5845:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < mtext+MLEN-2)
^
lex.c:5652:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < (m))\
^
lex.c:5683:5: note: in expansion of macro ‘GETALPHA’
GETALPHA(p, q, namebuf+NSIZE-1);
^
lex.c:5845:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < mtext+MLEN-2)
^
lex.c:5652:12: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < (m))\
^
lex.c:5711:17: note: in expansion of macro ‘GETALPHA’
GETALPHA(p, q, &args[arg][NSIZE-1]);
^
lex.c:5637:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
handle_define (char *yyt, Bool quote)
^
lex.c:5637:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:5637:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:5845:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (q < mtext+MLEN-2)
^
lex.c:5845:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c: In function ‘handle_preprocessor_statement’:
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:4356:9: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:4279:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
handle_preprocessor_statement (char * in_yyp)
^
lex.c:4279:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:4356:9: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:4279:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
handle_preprocessor_statement (char * in_yyp)
^
lex.c:4279:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:4279:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c: In function ‘yylex1’:
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:4597:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
yylex1 (void)
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:4597:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
yylex1 (void)
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:4597:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
yylex1 (void)
^
lex.c:4597:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:4597:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c: In function ‘yylex’:
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:5362:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
yylex (void)
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:5362:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
yylex (void)
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:5362:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
yylex (void)
^
lex.c:5362:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:5362:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
lex.c:588:8: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (yyp < yytext+MAXLINE-5)\
^
lex.c:5137:17: note: in expansion of macro ‘SAVEC’
SAVEC;
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o main.o main.c
In file included from main.c:63:0:
main.c: In function ‘main’:
object.h:161:86: warning: right-hand operand of comma expression has no effect [-Wunused-value]
, get_txt((o)->name), (o)->ref, from, __FILE__, __LINE__) : 0, \
^
main.c:647:9: note: in expansion of macro ‘ref_object’
ref_object(master_ob, "main");
^
main.c: In function ‘eval_arg’:
main.c:2983:17: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
(void)dup(2);
^
main.c: In function ‘write_x’:
main.c:820:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(d, &c, 1);
^
main.c: In function ‘write_X’:
main.c:838:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(d, &c, 1);
^
main.c: In function ‘writed’:
main.c:856:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(d, &c, 1);
^
main.c: In function ‘writes’:
main.c:868:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(d, s, strlen(s));
^
main.c: In function ‘dprintf_first’:
main.c:889:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, s, strlen(s));
^
main.c:893:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, s, p - s);
^
main.c:897:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, p+1, 1);
^
main.c:900:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, (char *)a, strlen((char*)a));
^
main.c:905:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, (char *)&c, 1);
^
main.c: In function ‘dprintf1’:
main.c:932:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, s, strlen(s));
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o mapping.o mapping.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o md5.o md5.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o mempools.o mempools.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o mregex.o mregex.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o mstrings.o mstrings.c
mstrings.c:667:1: warning: "/*" within comment [-Wcomment]
/* try_make_constant(pStr) : in_place_only = true
^
mstrings.c: In function ‘mstring_mstr_rn_str’:
mstrings.c:1210:12: warning: variable ‘left’ set but not used [-Wunused-but-set-variable]
size_t left;
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o object.o object.c
object.c: In function ‘free_prog’:
object.c:668:20: warning: variable ‘functions’ set but not used [-Wunused-but-set-variable]
funflag_t *functions;
^
object.c:667:20: warning: variable ‘program’ set but not used [-Wunused-but-set-variable]
bytecode_p program;
^
object.c: In function ‘f_restore_value’:
object.c:9553:13: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
int i;
^
object.c: In function ‘e_say’:
object.c:4661:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
if (curr_recipient >= last_recipients)
^
object.c:4661:16: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
object.c:4547:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
e_say (svalue_t *v, vector_t *avoid)
^
object.c:4547:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
object.c:4547:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
object.c: In function ‘v_say’:
object.c:4786:20: warning: array subscript is above array bounds [-Warray-bounds]
vtmp.v.item[1].type = T_NUMBER;
^
In file included from simulate.h:12:0,
from actions.h:8,
from object.c:164:
svalue.h:496:11: warning: array subscript is above array bounds [-Warray-bounds]
( (sp)->type = T_OBJECT, (sp)->u.ob = ref_object(val, from) )
^
object.c:4801:13: note: in expansion of macro ‘put_ref_object’
put_ref_object(vtmp.v.item+1, sp->u.ob, "say");
^
svalue.h:496:37: warning: array subscript is above array bounds [-Warray-bounds]
( (sp)->type = T_OBJECT, (sp)->u.ob = ref_object(val, from) )
^
object.c:4801:13: note: in expansion of macro ‘put_ref_object’
put_ref_object(vtmp.v.item+1, sp->u.ob, "say");
^
object.c:4813:20: warning: array subscript is above array bounds [-Warray-bounds]
if (vtmp.v.item[1].type != T_NUMBER)
^
object.c:4816:20: warning: array subscript is above array bounds [-Warray-bounds]
vtmp.v.item[1].type = T_NUMBER;
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o otable.o otable.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o parser.o parser.c
In file included from parser.c:21:0:
prolang.y: In function ‘get_index_result_type’:
prolang.y:2354:9: warning: enumeration value ‘TCLASS_STRUCT’ not handled in switch [-Wswitch]
switch (member->t_class)
^
prolang.y:2354:9: warning: enumeration value ‘TCLASS_UNION’ not handled in switch [-Wswitch]
In file included from parser.c:21:0:
prolang.y: In function ‘get_struct_member_result_type’:
prolang.y:5615:9: warning: enumeration value ‘TCLASS_ARRAY’ not handled in switch [-Wswitch]
switch (unionmember->t_class)
^
prolang.y:5615:9: warning: enumeration value ‘TCLASS_UNION’ not handled in switch [-Wswitch]
In file included from parser.c:21:0:
parser.c: In function ‘yyparse’:
y.tab.c:9763:6: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
In file included from parser.c:21:0:
prolang.y: In function ‘update_virtual_program’:
prolang.y:15105:94: warning: ‘oldinheritidx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
? ((realoldfunp->flags & NAME_INHERITED) && realoldfunp->offset.inherit == oldinheritidx)
^
In file included from parser.c:21:0:
prolang.y:15058:13: note: ‘oldinheritidx’ was declared here
int oldinheritidx;
^
In file included from parser.c:21:0:
y.tab.c: In function ‘yyparse’:
y.tab.c:9763:6: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
y.tab.c:9763:6: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o parse.o parse.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-iksemel.o pkg-iksemel.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-xml2.o pkg-xml2.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-idna.o pkg-idna.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-mccp.o pkg-mccp.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-mysql.o pkg-mysql.c
pkg-mysql.c: In function ‘raise_db_error’:
pkg-mysql.c:328:5: warning: format not a string literal and no format arguments [-Wformat-security]
errorf(err_string);
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-gcrypt.o pkg-gcrypt.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-json.o pkg-json.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-pgsql.o pkg-pgsql.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-sqlite.o pkg-sqlite.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-tls.o pkg-tls.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-openssl.o pkg-openssl.c
pkg-openssl.c: In function ‘tls_get_certificate_fingerprint’:
pkg-openssl.c:781:12: warning: pointer targets in return differ in signedness [-Wpointer-sign]
return keys[current_key].fingerprint;
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o pkg-gnutls.o pkg-gnutls.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o port.o port.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o ptrtable.o ptrtable.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -fno-strict-aliasing -c random.c -o random.o
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o regexp.o regexp.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o sha1.o sha1.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o simulate.o simulate.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o simul_efun.o simul_efun.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o stdstrings.o stdstrings.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o strfuns.o strfuns.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o structs.o structs.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o sprintf.o sprintf.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o swap.o swap.c
swap.c: In function ‘load_ob_from_swap’:
swap.c:2235:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(block, size, 1, swap_file);
^
swap.c: In function ‘load_line_numbers_from_swap’:
swap.c:2345:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(lines+1, tmp_numbers.size - sizeof(tmp_numbers)
^
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o types.o types.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o wiz_list.o wiz_list.c
gcc -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -I/usr/include/json-c -I/usr/include/mysql -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/home/ubuntu/lib"' -DBINDIR='"/home/ubuntu/bin"' -DERQ_DIR='"/home/ubuntu/libexec"' -c -o xalloc.o xalloc.c
xalloc.c: In function ‘print_block’:
xalloc.c:971:21: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(d, cp+i, 1);
^
xalloc.c: In function ‘reallocate_reserved_areas’:
xalloc.c:1524:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(1, p, strlen(p));
^
xalloc.c:1534:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(1, p, strlen(p));
^
xalloc.c:1544:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(1, p, strlen(p));
^
gcc -O2 -g -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -lpython3.5m access_check.o actions.o array.o arraylist.o backend.o bitstrings.o call_out.o closure.o comm.o dumpstat.o ed.o efuns.o files.o gcollect.o hash.o heartbeat.o interpret.o lex.o main.o mapping.o md5.o mempools.o mregex.o mstrings.o object.o otable.o parser.o parse.o pkg-iksemel.o pkg-xml2.o pkg-idna.o pkg-mccp.o pkg-mysql.o pkg-gcrypt.o pkg-json.o pkg-python.o pkg-pgsql.o pkg-sqlite.o pkg-tls.o pkg-openssl.o pkg-gnutls.o port.o ptrtable.o random.o regexp.o sha1.o simulate.o simul_efun.o stdstrings.o strfuns.o structs.o sprintf.o swap.o types.o wiz_list.o xalloc.o -o ldmud -lnsl -lm -lcrypt -lssl -lcrypto -lpcre -lmysqlclient -lsqlite3 -ljson-c -lpython3.5m -liksemel -lz
backend.o: In function `backend':
/home/ubuntu/ldmud/src/backend.c:891: undefined reference to `python_call_hook'
closure.o: In function `closure_to_string':
/home/ubuntu/ldmud/src/closure.c:6092: undefined reference to `closure_python_efun_to_string'
comm.o: In function `get_message':
/home/ubuntu/ldmud/src/comm.c:2356: undefined reference to `python_set_fds'
/home/ubuntu/ldmud/src/comm.c:2439: undefined reference to `python_handle_fds'
/home/ubuntu/ldmud/src/comm.c:2439: undefined reference to `python_handle_fds'
gcollect.o: In function `garbage_collection':
/home/ubuntu/ldmud/src/gcollect.c:2201: undefined reference to `python_clear_refs'
/home/ubuntu/ldmud/src/gcollect.c:2421: undefined reference to `python_count_refs'
interpret.o: In function `eval_instruction':
/home/ubuntu/ldmud/src/interpret.c:13836: undefined reference to `call_python_efun'
interpret.o: In function `int_call_lambda':
/home/ubuntu/ldmud/src/interpret.c:17152: undefined reference to `call_python_efun'
interpret.o: In function `check_a_lot_ref_counts':
/home/ubuntu/ldmud/src/interpret.c:19248: undefined reference to `count_python_extra_refs'
lex.o: In function `efun_defined':
/home/ubuntu/ldmud/src/lex.c:7345: undefined reference to `is_python_efun'
lex.o: In function `symbol_efun_str':
/home/ubuntu/ldmud/src/lex.c:1532: undefined reference to `is_python_efun'
/home/ubuntu/ldmud/src/lex.c:1585: undefined reference to `is_python_efun'
/home/ubuntu/ldmud/src/lex.c:1532: undefined reference to `is_python_efun'
lex.o: In function `closure':
/home/ubuntu/ldmud/src/lex.c:4153: undefined reference to `is_python_efun'
lex.o:/home/ubuntu/ldmud/src/lex.c:4222: more undefined references to `is_python_efun' follow
main.o: In function `main':
/home/ubuntu/ldmud/src/main.c:344: undefined reference to `python_startup_script'
main.o: In function `eval_arg':
/home/ubuntu/ldmud/src/main.c:2902: undefined reference to `python_startup_script'
/home/ubuntu/ldmud/src/main.c:2905: undefined reference to `python_startup_script'
main.o: In function `main':
/home/ubuntu/ldmud/src/main.c:564: undefined reference to `pkg_python_init'
main.o: In function `eval_arg':
/home/ubuntu/ldmud/src/main.c:2907: undefined reference to `python_startup_script'
object.o: In function `save_closure':
/home/ubuntu/ldmud/src/object.c:6050: undefined reference to `closure_python_efun_to_string'
object.o: In function `init_object_variables':
/home/ubuntu/ldmud/src/object.c:482: undefined reference to `python_call_hook_object'
parser.o: In function `define_variable':
/home/ubuntu/ldmud/src/prolang.y:4440: undefined reference to `is_python_efun'
parser.o: In function `redeclare_variable':
/home/ubuntu/ldmud/src/prolang.y:4540: undefined reference to `is_python_efun'
parser.o: In function `inherit_program':
/home/ubuntu/ldmud/src/prolang.y:16012: undefined reference to `is_python_efun'
/home/ubuntu/ldmud/src/prolang.y:16000: undefined reference to `is_python_efun'
parser.o: In function `yyparse':
/home/ubuntu/ldmud/src/prolang.y:12638: undefined reference to `is_python_efun'
simulate.o: In function `destruct':
/home/ubuntu/ldmud/src/simulate.c:2658: undefined reference to `python_call_hook_object'
collect2: error: ld returned 1 exit status
Makefile:126: recipe for target 'ldmud' failed
make: *** [ldmud] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment