Fixed compil issues in debug mode

This commit is contained in:
jean-pierre charras 2010-09-29 08:05:36 +02:00
parent d696ee8cd5
commit 46b57190ff
2 changed files with 12 additions and 1 deletions

View File

@ -179,6 +179,17 @@ public:
bool Save( FILE* aFile ) const;
#if defined(DEBUG)
/**
* Function Show
* is used to output the object tree, currently for debugging only.
* @param nestLevel An aid to prettier tree indenting, and is the level
* of nesting of this object within the overall tree.
* @param os The ostream& to output to.
*/
virtual void Show( int nestLevel, std::ostream& os );
#endif
};
#endif /* CLASS_GERBER_DRAW_ITEM_H */

View File

@ -1006,7 +1006,7 @@ bool GERBER::Execute_DCODE_Command( WinEDA_GerberFrame* frame,
{
if( m_LayerNegative ^ m_ImageNegative )
gbritem->m_Flags |= DRAW_ERASED;
D( printf( "\nm_Flags=0x%08X\n", edge_poly->m_Flags ); )
D( printf( "\nm_Flags=0x%08X\n", gbritem->m_Flags ); )
}
break;
}