foralex / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

Patch for /trunk/lex.c #159

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
#include <math.h> because of pow()

Original issue reported on code.google.com by christop...@gmail.com on 14 Jun 2012 at 1:34

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch.

This addition should be unnecessary if platform.h is set up correctly.

platform.h either defines NO_FP, in which case pow() isn't used, or it includes 
math.h. Check your platform definition to make sure it does one or the other of 
these things.

Original comment by zik.sale...@gmail.com on 29 Aug 2012 at 11:18