switch all <math.h> includes to <cmath> includes on an attempt to dodge some abiguous references to atan2()

This commit is contained in:
Dick Hollenbeck 2012-09-21 12:02:54 -05:00
parent eb94e66c9d
commit 210a7036db
22 changed files with 24 additions and 24 deletions

View File

@ -49,7 +49,7 @@
* Much mucking with by:
* Gavin Bell
*/
#include <math.h>
#include <cmath>
#include <wx/glcanvas.h> // used only to define GLfloat
#include <trackball.h>

View File

@ -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>

View File

@ -69,7 +69,7 @@
#include <class_excellon.h>
#include <kicad_string.h>
#include <math.h>
#include <cmath>
#include <html_messagebox.h>

View File

@ -11,7 +11,7 @@
#include <class_gerber_draw_item.h>
#include <class_GERBER.h>
#include <math.h>
#include <cmath>
/* Gerber: NOTES about some important commands found in RS274D and RS274X (G codes):
* Gn =

View File

@ -5,7 +5,7 @@
** since 2006/6/14
**
*****************************************************************************/
#include <math.h>
#include <cmath>
#include <attenuator_classes.h>

View File

@ -29,7 +29,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <units.h>
#include <transline.h>

View File

@ -32,7 +32,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <units.h>
#include <transline.h>

View File

@ -26,7 +26,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <units.h>
#include <transline.h>

View File

@ -32,7 +32,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <units.h>
#include <transline.h>

View File

@ -23,7 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <units.h>
#include <transline.h>

View File

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <units.h>
#include <transline.h>

View File

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <units.h>
#include <transline.h>

View File

@ -24,7 +24,7 @@
#ifndef __UNITS_H
#define __UNITS_H
#include <math.h>
#include <cmath>
#include <units_scales.h>
#ifdef __MINGW32__

View File

@ -59,7 +59,7 @@
*/
#include <math.h>
#include <cmath>
#include <stdio.h>
#include <string.h>
#include <errno.h>
@ -4105,7 +4105,7 @@ void FPL_CACHE::Save()
abs_lib_name.MakeAbsolute();
tempFileName = wxFileName::CreateTempFileName( abs_lib_name.GetFullPath() );
wxLogDebug( wxT( "tempFileName:'%s' m_lib_name:'%s'\n" ),
wxLogDebug( wxT( "tempFileName:'%s' m_lib_name:'%s'\n" ),
TO_UTF8( tempFileName ), TO_UTF8( m_lib_name ) );
FILE* fp = wxFopen( tempFileName, wxT( "w" ) );

View File

@ -44,7 +44,7 @@
* - shapes are smoothed.
*/
#include <math.h>
#include <cmath>
#include <fctsys.h>
#include <polygons_defs.h>

View File

@ -3,7 +3,7 @@
//
// implementation for kicad and kbool polygon clipping library
//
#include <math.h>
#include <cmath>
#include <vector>
#include <algorithm>

View File

@ -2,7 +2,7 @@
#include <vector>
#include <math.h>
#include <cmath>
#include <float.h>
#include <limits.h>

View File

@ -2,7 +2,7 @@
* @file polygon_test_point_inside.cpp
*/
#include <math.h>
#include <cmath>
#include <vector>
#include <PolyLine.h>

View File

@ -10,7 +10,7 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <greymap.h>

View File

@ -6,7 +6,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cmath>
#include <string.h>
#include <render.h>

View File

@ -6,7 +6,7 @@
/* transform jaggy paths into smooth curves */
#include <stdio.h>
#include <math.h>
#include <cmath>
#include <stdlib.h>
#include <string.h>

View File

@ -12,7 +12,7 @@
#include <limits.h>
#include <stdio.h>
#include <math.h>
#include <cmath>
#include <string>
#include <string.h>
#include <stdlib.h>