* All tools:
- Change: Correction to suppress all g++ warnings. Except thoses comming from bad Python system includes...
This commit is contained in:
parent
d25bea005d
commit
b8883968be
|
@ -283,7 +283,7 @@ extern "C" {
|
|||
|
||||
PyObject* arg0;
|
||||
PyObject* arg1;
|
||||
DbU::Unit result;
|
||||
DbU::Unit result = 0;
|
||||
|
||||
HTRY
|
||||
__cs.init ( "DbU.getOnPhysicalGrid" );
|
||||
|
|
|
@ -1286,7 +1286,7 @@ namespace Hurricane {
|
|||
}
|
||||
|
||||
|
||||
void CellWidget::changeDbuMode ( int mode, DbU::UnitPower p )
|
||||
void CellWidget::changeDbuMode ( unsigned int mode, DbU::UnitPower p )
|
||||
{
|
||||
if ( (_state->getDbuMode() != mode) or (_state->getUnitPower() != p) ) {
|
||||
_state->setDbuMode ( mode );
|
||||
|
@ -1670,7 +1670,7 @@ namespace Hurricane {
|
|||
|
||||
QFontMetrics metrics = QFontMetrics(font);
|
||||
int width = metrics.width ( text );
|
||||
int height = metrics.height ();
|
||||
//int height = metrics.height ();
|
||||
int angle = 0;
|
||||
|
||||
if ( (width > box.width()) and (box.height() > 2*box.width()) )
|
||||
|
|
|
@ -236,6 +236,7 @@ namespace Hurricane {
|
|||
case DbU::Physical:
|
||||
switch ( _cellWidget->getUnitPower() ) {
|
||||
case DbU::Nano: _nanoMode ->setChecked(true); break;
|
||||
default:
|
||||
case DbU::Micro: _microMode->setChecked(true); break;
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -39,8 +39,8 @@ namespace Hurricane {
|
|||
|
||||
ExceptionWidget::ExceptionWidget ( QWidget* parent )
|
||||
: QDialog (parent)
|
||||
, _message(new QLabel())
|
||||
, _header (new QLabel())
|
||||
, _message(new QLabel())
|
||||
{
|
||||
setAttribute ( Qt::WA_DeleteOnClose );
|
||||
setModal ( true );
|
||||
|
|
|
@ -141,7 +141,7 @@ namespace Hurricane {
|
|||
if ( mode == DbU::Physical ) {
|
||||
switch ( p ) {
|
||||
case DbU::Nano: mode = Nanometer; break;
|
||||
defult:
|
||||
default:
|
||||
case DbU::Micro: mode = Micrometer; break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -94,9 +94,9 @@ namespace Hurricane {
|
|||
|
||||
void InspectorWidget::History::goTo ( int depth )
|
||||
{
|
||||
if ( ( depth < 0 ) || ( depth >= (int)_slots.size() ) ) return;
|
||||
if ( depth != _depth ) {
|
||||
_depth = depth;
|
||||
if ( ( depth < 0 ) or ( (size_t)depth >= _slots.size() ) ) return;
|
||||
if ( (size_t)depth != _depth ) {
|
||||
_depth = (size_t)depth;
|
||||
_comboBox->setCurrentIndex ( _depth );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ namespace {
|
|||
inline int GridBuffer::getRow () const { return _row; }
|
||||
inline int GridBuffer::getColumn () const { return _column; }
|
||||
inline int GridBuffer::getCurrentRow () const { return _widgets.size() + _row; }
|
||||
inline bool GridBuffer::columnOverload () const { return getCurrentRow() > _rowMax; }
|
||||
inline bool GridBuffer::columnOverload () const { return getCurrentRow() > (int)_rowMax; }
|
||||
|
||||
|
||||
void GridBuffer::flushWidgets ()
|
||||
|
|
|
@ -285,7 +285,7 @@ namespace Hurricane {
|
|||
inline void clearRulers ();
|
||||
void changeQueryFilter ();
|
||||
void rubberChange ();
|
||||
void changeDbuMode ( int mode, DbU::UnitPower );
|
||||
void changeDbuMode ( unsigned int mode, DbU::UnitPower );
|
||||
void setStyle ( int id );
|
||||
void updatePalette ();
|
||||
void cellPreModificate ();
|
||||
|
|
|
@ -196,7 +196,6 @@ namespace Hurricane {
|
|||
string windowTitle = "Netlist" + getString(cell);
|
||||
setWindowTitle ( tr(windowTitle.c_str()) );
|
||||
|
||||
int rows = _sortModel->rowCount ();
|
||||
_view->selectRow ( 0 );
|
||||
_view->resizeColumnToContents ( 0 );
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ int main() {
|
|||
////
|
||||
|
||||
//Net net1 External and IN of Model1 creation
|
||||
Net* net1 = Net::create(model1, Name("net1"));
|
||||
//Net* net1 = Net::create(model1, Name("net1"));
|
||||
cout << "Testing net1 presence in cell model1" << endl;
|
||||
/////
|
||||
//set net1 as External
|
||||
|
|
Loading…
Reference in New Issue