* All tools:
- Change: Correction to suppress all g++ warnings. Except thoses comming from bad Python system includes...
This commit is contained in:
parent
b8883968be
commit
605eeff9e4
|
@ -36,13 +36,13 @@
|
|||
namespace {
|
||||
|
||||
|
||||
const char *missingMandatoryAttr =
|
||||
"CRoutingGauge::createFromXml () :\n\n"
|
||||
" Can't found mandatory attribute \"%s\".\n";
|
||||
// const char *missingMandatoryAttr =
|
||||
// "CRoutingGauge::createFromXml () :\n\n"
|
||||
// " Can't found mandatory attribute \"%s\".\n";
|
||||
|
||||
const char *badAttrValue =
|
||||
"CRoutingGauge::createFromXml () :\n\n"
|
||||
" Invalid value \"%s\" for attribute \"%s\".\n";
|
||||
// const char *badAttrValue =
|
||||
// "CRoutingGauge::createFromXml () :\n\n"
|
||||
// " Invalid value \"%s\" for attribute \"%s\".\n";
|
||||
|
||||
// const char *missingCellGaugeTag =
|
||||
// "::createCellGaugeFromXml () :\n\n"
|
||||
|
|
|
@ -62,8 +62,8 @@ namespace CRL {
|
|||
void RealTechnologyParser::parseGrid ()
|
||||
{
|
||||
QString value;
|
||||
double gridValue;
|
||||
DbU::UnitPower gridUnit;
|
||||
double gridValue = 1.0;
|
||||
DbU::UnitPower gridUnit = DbU::Micro;
|
||||
|
||||
value = _reader->attributes().value("value").toString();
|
||||
if ( !value.isEmpty() )
|
||||
|
@ -94,7 +94,7 @@ namespace CRL {
|
|||
void RealTechnologyParser::parseGridsPerLambda ()
|
||||
{
|
||||
QString value;
|
||||
double gridsPerLambda;
|
||||
double gridsPerLambda = 10.0;
|
||||
|
||||
value = _reader->attributes().value("value").toString();
|
||||
if ( !value.isEmpty() )
|
||||
|
|
|
@ -38,13 +38,13 @@ namespace {
|
|||
// ---------------------------------------------------------------
|
||||
// Local Variables.
|
||||
|
||||
const char* notBasicLayer =
|
||||
"%s :\n\n"
|
||||
" %s is not a <BasicLayer>.\n";
|
||||
// const char* notBasicLayer =
|
||||
// "%s :\n\n"
|
||||
// " %s is not a <BasicLayer>.\n";
|
||||
|
||||
const char* notConductingLayer =
|
||||
"%s :\n\n"
|
||||
" %s is not a CONDUCTING <BasicLayer>.\n";
|
||||
// const char* notConductingLayer =
|
||||
// "%s :\n\n"
|
||||
// " %s is not a CONDUCTING <BasicLayer>.\n";
|
||||
|
||||
const char* negativeIndex =
|
||||
"RoutingLayerGauge::getTrackIndex() :\n\n"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// -*- C++ -*-
|
||||
//
|
||||
// This file is part of the Coriolis Software.
|
||||
// Copyright (c) UPMC/LIP6 2008-2009, All Rights Reserved
|
||||
// Copyright (c) UPMC/LIP6 2008-2010, All Rights Reserved
|
||||
//
|
||||
// ===================================================================
|
||||
//
|
||||
|
@ -74,7 +74,6 @@ bool toMBKLayer ( const char*& mbkLayer
|
|||
static map<const Name,const char*> tableLayer;
|
||||
static map<const Name,const char*> tableContact;
|
||||
static map<const Name,const char*> tableConnector;
|
||||
static const char* untranslatable = "UNTRANSLATABLE";
|
||||
|
||||
if ( firstCall ) {
|
||||
firstCall = false;
|
||||
|
|
|
@ -810,7 +810,7 @@ void BKParser::LoadFromFile ( const string& cellPath, Cell* cell )
|
|||
_lineNumber++;
|
||||
continue;
|
||||
}
|
||||
char* result = fgets ( &_buffer[1], sizeof ( _buffer ) - 1, _file );
|
||||
fgets ( &_buffer[1], sizeof ( _buffer ) - 1, _file );
|
||||
_lineNumber++;
|
||||
|
||||
if ( _buffer[0] == '#' ) continue;
|
||||
|
@ -910,7 +910,7 @@ void BKParser::LoadFromFile ( const string& cellPath, Cell* cell )
|
|||
_lineNumber++;
|
||||
continue;
|
||||
}
|
||||
char* result = fgets ( &_buffer[1], sizeof ( _buffer ) - 1, _file );
|
||||
fgets ( &_buffer[1], sizeof ( _buffer ) - 1, _file );
|
||||
_lineNumber++;
|
||||
|
||||
if ( _buffer[0] == '#' ) continue;
|
||||
|
|
|
@ -75,10 +75,10 @@ void CifQuery::goCallback(Go* go) {
|
|||
return;
|
||||
}
|
||||
CifPolygon* poly = new CifPolygon ( layer->getExtractNumber() );
|
||||
long xMin = round(DbU::getPhysical(b.getXMin(), DbU::Nano));
|
||||
long yMin = round(DbU::getPhysical(b.getYMin(), DbU::Nano));
|
||||
long xMax = round(DbU::getPhysical(b.getXMax(), DbU::Nano));
|
||||
long yMax = round(DbU::getPhysical(b.getYMax(), DbU::Nano));
|
||||
long xMin = (long)round(DbU::getPhysical(b.getXMin(), DbU::Nano));
|
||||
long yMin = (long)round(DbU::getPhysical(b.getYMin(), DbU::Nano));
|
||||
long xMax = (long)round(DbU::getPhysical(b.getXMax(), DbU::Nano));
|
||||
long yMax = (long)round(DbU::getPhysical(b.getYMax(), DbU::Nano));
|
||||
poly->addPoint(xMin, yMin);
|
||||
poly->addPoint(xMax, yMin);
|
||||
poly->addPoint(xMax, yMax);
|
||||
|
|
|
@ -90,14 +90,14 @@ namespace {
|
|||
using namespace CRL;
|
||||
|
||||
|
||||
unsigned int __lefConvertFactor = 1;
|
||||
Library* __library = NULL;
|
||||
AllianceFramework* __framework = NULL;
|
||||
Technology* __technology = NULL;
|
||||
Cell* __cell = NULL;
|
||||
Net* __net = NULL;
|
||||
long __userData = 0;
|
||||
Catalog* __catalog = NULL;
|
||||
//unsigned int __lefConvertFactor = 1;
|
||||
//Library* __library = NULL;
|
||||
//AllianceFramework* __framework = NULL;
|
||||
//Technology* __technology = NULL;
|
||||
//Cell* __cell = NULL;
|
||||
//Net* __net = NULL;
|
||||
//long __userData = 0;
|
||||
//Catalog* __catalog = NULL;
|
||||
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue