Add missing C++ stdlib headers
The GCC standard library headers often include other headers, which makes some code compile that forgets to include several headers.
This commit is contained in:
parent
f7fdf43ea8
commit
96ec9db5d6
|
@ -29,6 +29,8 @@
|
|||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <gal/definitions.h>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
using namespace KIGFX;
|
||||
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#include <wx/arrstr.h>
|
||||
#include <wx/clipbrd.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
// It works for table data on clipboard for an Excell spreadsheet,
|
||||
// why not us too for now.
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
|
||||
#include <wx/statline.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
enum colors_id {
|
||||
ID_COLOR_BLACK = 2000 // colors_id = ID_COLOR_BLACK a ID_COLOR_BLACK + NBCOLORS-1
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <hotkeys_basic.h>
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/range/adaptor/map.hpp>
|
||||
#include <cctype>
|
||||
#include <cassert>
|
||||
|
||||
ACTION_MANAGER::ACTION_MANAGER( TOOL_MANAGER* aToolManager ) :
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
|
||||
#include <project.h>
|
||||
|
||||
#include <map>
|
||||
|
||||
class LINE_READER;
|
||||
class OUTPUTFORMATTER;
|
||||
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
#include <queue>
|
||||
#include <list>
|
||||
#include <map>
|
||||
|
||||
/* Avoid wxWidgets bug #16906 -- http://trac.wxwidgets.org/ticket/16906
|
||||
*
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
|
||||
#include <base_struct.h>
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
/** Info about complex hierarchies handling:
|
||||
* A hierarchical schematic uses sheets (hierarchical sheets) included in a
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <class_X2_gerber_attributes.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
#include <class_gerber_file_image_list.h>
|
||||
#include <class_X2_gerber_attributes.h>
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
// GERBER_FILE_IMAGE_LIST is a helper class to handle a list of GERBER_FILE_IMAGE files
|
||||
GERBER_FILE_IMAGE_LIST::GERBER_FILE_IMAGE_LIST()
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include <cstdio>
|
||||
#include <deque>
|
||||
#include <iterator>
|
||||
|
||||
#include <math/vector2d.h>
|
||||
#include <cassert>
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include <deque>
|
||||
#include <typeinfo>
|
||||
#include <map>
|
||||
#include <list>
|
||||
|
||||
#include <tool/tool_base.h>
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
#include <transline.h>
|
||||
#include <units.h>
|
||||
|
|
|
@ -40,6 +40,9 @@
|
|||
#include <colors.h>
|
||||
#include <wx/colour.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
#define BUTT_SIZE_X 20
|
||||
#define BUTT_SIZE_Y 18
|
||||
#define BUTT_VOID 4
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
#include <boost/unordered_map.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
#include <deque>
|
||||
|
||||
class BOARD;
|
||||
class BOARD_ITEM;
|
||||
class BOARD_CONNECTED_ITEM;
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
||||
#include <geometry/shape.h>
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#include <geometry/shape_rect.h>
|
||||
#include <geometry/shape_convex.h>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "pns_line.h"
|
||||
#include "pns_diff_pair.h"
|
||||
#include "pns_node.h"
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
#include <geometry/shape_segment.h>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
const SHAPE_LINE_CHAIN OctagonalHull( const VECTOR2I& aP0, const VECTOR2I& aSize,
|
||||
int aClearance, int aChamfer )
|
||||
{
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "selection_conditions.h"
|
||||
#include <boost/unordered_map.hpp>
|
||||
#include <list>
|
||||
#include <wx/wx.h>
|
||||
|
||||
class SELECTION_TOOL;
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
#include <base_struct.h>
|
||||
#include <layers_id_colors_and_visibility.h>
|
||||
|
||||
#include <list>
|
||||
#include <deque>
|
||||
|
||||
#include "edit_constraints.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <limits.h>
|
||||
#include <common.h>
|
||||
#include <cstdlib> // for abs function on ints
|
||||
#include <algorithm>
|
||||
#include <math_for_graphics.h>
|
||||
|
||||
static bool InRange( double x, double xi, double xf );
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <algorithm>
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
|
Loading…
Reference in New Issue