isinf function changes reference on include poly2tri.h
15 views
Skip to first unread message
Ardo Avancena
unread,
Feb 25, 2014, 4:22:35 PM2/25/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to poly...@googlegroups.com
I am using the function "isinf" which is from "/usr/include/math.h" and whenever I import poly2tri.h the function "isinf" errors out and is already pointed to "/usr/include/c++/4.2.1/cmath". How do I remedy this? Thanks!
Ardo Avancena
unread,
Feb 25, 2014, 5:29:13 PM2/25/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to poly...@googlegroups.com
Managed to fix this by copying the definition of "isinf" from "math.h" after I include "poly2tri/poly2tri.h"