Skip to content

Instantly share code, notes, and snippets.

@hcarty
Created August 26, 2020 03:59
Show Gist options
  • Save hcarty/066d1860d60b0bf2ee0d505dcb0ea94e to your computer and use it in GitHub Desktop.
Save hcarty/066d1860d60b0bf2ee0d505dcb0ea94e to your computer and use it in GitHub Desktop.
orx build output
==== Building orxLIB (debug64) ====
orxParam.c
In file included from ../../../include/memory/orxMemory.h:50,
from ../../../src/main/orxParam.c:34:
../../../src/main/orxParam.c: In function ‘orxParam_SetArgs’:
../../../include/debug/orxDebug.h:300:9: error: null argument where non-null required (argument 2) [-Werror=nonnull]
300 | strncpy(zBuffer, FILE, 256); \
| ^~~~~~~
../../../src/main/orxParam.c:794:5: note: in expansion of macro ‘orxDEBUG_SETBASEFILENAME’
794 | orxDEBUG_SETBASEFILENAME(orxNULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../include/debug/orxDebug.h:303:9: error: null argument where non-null required (argument 2) [-Werror=nonnull]
303 | strncpy(zBuffer, FILE, 256); \
| ^~~~~~~
../../../src/main/orxParam.c:794:5: note: in expansion of macro ‘orxDEBUG_SETBASEFILENAME’
794 | orxDEBUG_SETBASEFILENAME(orxNULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [orxLIB.make:529: obj/x64/Debug/orxLIB/orxParam.o] Error 1
make: *** [Makefile:21: orxLIB] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment