switch all <math.h> includes to <cmath> includes on an attempt to dodge some abiguous references to atan2()
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* or you may write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// For some unknown reasons, polygon.hpp shoul be included first
|
||||
#include <boost/polygon/polygon.hpp>
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
|
||||
#include <potracelib.h>
|
||||
|
||||
Reference in New Issue
Block a user