diff options
author | Piotr StefaĆski <stefanskipiotr15@gmail.com> | 2023-10-26 20:34:17 +0200 |
---|---|---|
committer | adnano <me@adnano.co> | 2023-10-31 15:12:41 -0400 |
commit | e120b9156e758e881db5c13055c17999c62cfbd3 (patch) | |
tree | c30879393923fb3452f467344acef86bf77b8a96 /.gitignore | |
parent | adf5cda6e18dd1b0ce9fbde71200f79a816ecb91 (diff) | |
download | wmenu-e120b9156e758e881db5c13055c17999c62cfbd3.tar.gz |
Fix build failure when compiling in release
Compiling with --buildtype=release fails with message:
../main.c:935:17: error: argument 2 null where non-null expected [-Werror=nonnull]
935 | memcpy(state->text + state->cursor, s, n);
GCC only produces this error with optimizations enabled. Looking at
the build output I assume this happens because it tries to inline the
function.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions