Remove a Clang warning and add a missing dependency to boost in cmake file.

This commit is contained in:
Camille Delbegue 2013-08-05 17:53:13 +02:00 committed by Maciej Suminski
parent d15f0e91e2
commit 2134e7de04
5 changed files with 11 additions and 2 deletions

View File

@ -403,6 +403,7 @@ add_subdirectory(tools)
add_dependencies( pcbnew boost )
add_dependencies( eeschema boost )
add_dependencies( cvpcb boost )
add_dependencies( gal boost )
add_dependencies( common boost )
add_dependencies( pcbcommon boost )
add_dependencies( 3d-viewer boost )

View File

@ -29,6 +29,10 @@
using namespace KiGfx;
const double STROKE_FONT::LINE_HEIGHT_RATIO = 1.6;
STROKE_FONT::STROKE_FONT( GAL* aGal ) :
m_gal( aGal ),
m_bold( false ),

View File

@ -182,7 +182,7 @@ private:
*/
VECTOR2D computeTextSize( const std::string& aText ) const;
static const double LINE_HEIGHT_RATIO = 1.6;
static const double LINE_HEIGHT_RATIO;
};
} // namespace KiGfx

View File

@ -43,6 +43,10 @@
using namespace KiGfx;
const double PCB_RENDER_SETTINGS::MAX_FONT_SIZE = 100000000;
PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS()
{
// By default everything should be displayed as filled

View File

@ -106,7 +106,7 @@ protected:
bool m_netNamesOnPads;
bool m_netNamesOnTracks;
static const double MAX_FONT_SIZE = 100000000;
static const double MAX_FONT_SIZE;
DisplayZonesMode m_displayZoneMode;
};