I'm trying to compile some C source code (https://github.com/smcameron/space-nerds-in-space) PC is running Ubuntu 18.04
I run into the following error when I run the 'make' command
COMPILE mathutils.c
cc: error: unrecognized command line option '-Wstringop-truncation'; did you mean '-Wline-truncation'?
Makefile:967: recipe for target 'object_files/mathutils.o' failed
make: *** [object_files/mathutils.o] Error 1
Any advice would be appreciated
Thanks @gulpr
My version of gcc was 7.5 Once updated to version 10, problem solved