Skip to content

Instantly share code, notes, and snippets.

@jonm
Created October 3, 2015 20:40
Show Gist options
  • Save jonm/26d2af4b32a7fc523a9a to your computer and use it in GitHub Desktop.
Save jonm/26d2af4b32a7fc523a9a to your computer and use it in GitHub Desktop.
the log_msg() function is missing a prototype
$ make
gcc -g -DIMPL_SECURITY -DNEW_RENT -DLEVEL_LOSS -DNEWEXP -DGROUP_NAMES -DIMPL_SECURITY -DNEW_RENT -DLEVEL_LOSS -DNEWEXP -DGROUP_NAMES -c -o comm.o comm.c
comm.c:133:7: warning: implicit declaration of function 'log_msg' is invalid in
C99 [-Wimplicit-function-declaration]
log_msg("Lawful mode selected.");
^
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment