Commit b4369243 authored by unknown's avatar unknown Committed by jean-pierre charras

Warning removal, patches from Camille 019

parent 91c53a94
......@@ -5,7 +5,7 @@
#include <colors.h> // EDA_COLOR_T definition
#include <layers_id_colors_and_visibility.h>
class EDA_HOTKEY_CONFIG;
struct EDA_HOTKEY_CONFIG;
/* Basic class to build a layer list.
* this is an basic abstract class to build a layer list selector.
......
......@@ -143,10 +143,11 @@ wxString ReturnKeyNameFromCommandId( EDA_HOTKEY** aList, int aCommandId );
*/
int ReturnKeyCodeFromKeyName( const wxString& keyname );
/* An helper enum for AddHotkeyName function
* In menus we can an a hot key, or an accelerator , or sometimes just a comment
/**
* An helper enum for AddHotkeyName function
* In menus we can add a hot key, or an accelerator , or sometimes just a comment
* Hot keys can perform actions using the current mouse cursor position
* Accelerators performs the same action as the associated menu
* Accelerators perform the same action as the associated menu
* A comment is used in tool tips for some tools (zoom ..)
* to show the hot key that performs this action
*/
......
......@@ -155,7 +155,7 @@ struct IO_ERROR // : std::exception
/**
* Class PARSE_ERROR
* Struct PARSE_ERROR
* contains a filename or source description, a problem input line, a line number,
* a byte offset, and an error message which contains the the caller's report and his
* call site information: CPP source file, function, and line number.
......
......@@ -61,8 +61,8 @@ class BOARD_ITEM;
class PCB_LAYER_BOX_SELECTOR;
class NETLIST;
class REPORTER;
class PARSE_ERROR;
class IO_ERROR;
struct PARSE_ERROR;
struct IO_ERROR;
class FP_LIB_TABLE;
/**
......
......@@ -568,8 +568,8 @@ bool IDF_BOARD::WriteDrills( void )
fprintf( layoutFile, ".DRILLED_HOLES\n" );
std::list<struct IDF_DRILL_DATA*>::iterator ds = drills.begin();
std::list<struct IDF_DRILL_DATA*>::iterator de = drills.end();
std::list<class IDF_DRILL_DATA*>::iterator ds = drills.begin();
std::list<class IDF_DRILL_DATA*>::iterator de = drills.end();
while( ds != de )
{
......
......@@ -712,7 +712,7 @@ bool VRML_LAYER::Tesselate( VRML_LAYER* holes )
std::ostringstream ostr;
ostr << "Tesselate():FAILED: " << holes->GetError();
error = ostr.str();
return NULL;
return false;
}
if( Fault )
......
......@@ -58,7 +58,7 @@
#define M_PI4 ( M_PI / 4.0 )
#endif
struct GLUtesselator;
class GLUtesselator;
struct VERTEX_3D
{
......
......@@ -31,6 +31,8 @@
using boost::optional;
const double PNS_LINE_PLACER::m_shoveLengthThreshold = 1.7;
PNS_LINE_PLACER::PNS_LINE_PLACER( PNS_NODE* aWorld )
{
m_initial_direction = DIRECTION_45( DIRECTION_45::N );
......
......@@ -111,7 +111,7 @@ public:
PNS_NODE* GetCurrentNode() const;
private:
static const double m_shoveLengthThreshold = 1.7;
static const double m_shoveLengthThreshold;
bool handleViaPlacement( PNS_LINE& aHead );
......
......@@ -28,6 +28,8 @@
using namespace KIGFX;
const double BRIGHT_BOX::LineWidth = 100000.0;
BRIGHT_BOX::BRIGHT_BOX( BOARD_ITEM* aItem ) :
EDA_ITEM( NOT_USED ), // this item is never added to a BOARD so it needs no type
item( aItem )
......
......@@ -54,7 +54,7 @@ public:
private:
static const int BrightBoxLayer = ITEM_GAL_LAYER( GP_OVERLAY );
static const KIGFX::COLOR4D BrightColor;
static const double LineWidth = 100000.0;
static const double LineWidth;
BOARD_ITEM* item;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment