sdl/i_system.c: In function 'write_backtrace': sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:292:9: note: in expansion of macro 'CRASHLOG_WRITE' 292 | CRASHLOG_WRITE("------------------------\n"); // Nice looking seperator | ^~~~~~~~~~~~~~ sdl/i_system.c:265:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 265 | write(fd, string, strlen(string));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:294:9: note: in expansion of macro 'CRASHLOG_STDERR_WRITE' 294 | CRASHLOG_STDERR_WRITE("\n"); // Newline to look nice for both outputs. | ^~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:265:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 265 | write(fd, string, strlen(string));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:295:9: note: in expansion of macro 'CRASHLOG_STDERR_WRITE' 295 | CRASHLOG_STDERR_WRITE(error); // "Oops, SRB2 crashed" message | ^~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:299:9: note: in expansion of macro 'CRASHLOG_WRITE' 299 | CRASHLOG_WRITE("Time of crash: "); | ^~~~~~~~~~~~~~ sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:300:9: note: in expansion of macro 'CRASHLOG_WRITE' 300 | CRASHLOG_WRITE(timestr); | ^~~~~~~~~~~~~~ sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:301:9: note: in expansion of macro 'CRASHLOG_WRITE' 301 | CRASHLOG_WRITE("\n"); | ^~~~~~~~~~~~~~ sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:305:9: note: in expansion of macro 'CRASHLOG_WRITE' 305 | CRASHLOG_WRITE("Cause: "); | ^~~~~~~~~~~~~~ sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:306:9: note: in expansion of macro 'CRASHLOG_WRITE' 306 | CRASHLOG_WRITE(strsignal(signal)); | ^~~~~~~~~~~~~~ sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:307:9: note: in expansion of macro 'CRASHLOG_WRITE' 307 | CRASHLOG_WRITE("\n"); // Newline for the signal name | ^~~~~~~~~~~~~~ sdl/i_system.c:265:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 265 | write(fd, string, strlen(string));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:309:9: note: in expansion of macro 'CRASHLOG_STDERR_WRITE' 309 | CRASHLOG_STDERR_WRITE("\nBacktrace:\n"); | ^~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/i_system.c:316:9: note: in expansion of macro 'CRASHLOG_WRITE' 316 | CRASHLOG_WRITE("\n"); // Write another newline to the log so it looks nice :) | ^~~~~~~~~~~~~~