Hello everybody,
I'm trying to compile the simple calculator provided in this message :
http://www.mail-archive.com/help-bison@gnu.org/msg00156.html
I get this message :
calc.y: In function ‘calc_parse’:
calc.y:26: warning: incompatible implicit declaration of built-in
function ‘printf’
calc.y:
Solved.
Just added an include "stdlib.h" in calc.y.
Also added a -lm in the Makefile to avoid undefined "pow" and "sqrt"
symbol errors.
Sorry for the inconvenience.
David Coste wrote:
Hello everybody,
I'm trying to compile the simple calculator provided in this message :
http://www.mail-arch