Created
October 3, 2015 20:19
-
-
Save jonm/8048c00da262dd03fee8 to your computer and use it in GitHub Desktop.
Compilation error with the `log()` function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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: implicitly declaring library function 'log' with type | |
'double (double)' | |
log("Lawful mode selected."); | |
^ | |
comm.c:133:7: note: please include the header <math.h> or explicitly provide a | |
declaration for 'log' | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment