* All tools:

- Change: Correction to suppress all g++ warnings. Except thoses comming
        from bad Python system includes...
This commit is contained in:
Jean-Paul Chaput 2010-05-17 14:40:45 +00:00
parent a4b9fdd82f
commit 7c16c5916b
1 changed files with 6 additions and 7 deletions

View File

@ -384,7 +384,7 @@ namespace {
void _parseNode ( Net* net, RoutingPad* &firstRoutingPad ) void _parseNode ( Net* net, RoutingPad* &firstRoutingPad )
{ {
DbU::Unit x,y; DbU::Unit x,y;
long layerID; long layerID = 0;
vector<char*> fields = _splitString ( _rawLine ); vector<char*> fields = _splitString ( _rawLine );
if ( fields.size() != 3 ) { if ( fields.size() != 3 ) {
for (unsigned i = 0 ; i < fields.size(); i ++ ){ for (unsigned i = 0 ; i < fields.size(); i ++ ){
@ -620,7 +620,7 @@ namespace {
_printError ( true, "Malformed Net Line." ); _printError ( true, "Malformed Net Line." );
else { else {
Name netName = Name ( fields[0] ); Name netName = Name ( fields[0] );
long netID = _getLong ( fields[1] ); /*long netID =*/ _getLong ( fields[1] );
unsigned nbPins = _getLong ( fields[2] ); unsigned nbPins = _getLong ( fields[2] );
Net* net = _cell->getNet ( netName ); Net* net = _cell->getNet ( netName );
@ -802,7 +802,6 @@ int main ( int argc, char *argv[] )
int returnCode = 0; int returnCode = 0;
try { try {
float edgeCapacity;
unsigned int traceLevel; unsigned int traceLevel;
bool verbose1; bool verbose1;
bool verbose2; bool verbose2;
@ -831,13 +830,13 @@ int main ( int argc, char *argv[] )
( "cell,c" , poptions::value<string>() ( "cell,c" , poptions::value<string>()
, "The name of the cell to load, whithout extension." ) , "The name of the cell to load, whithout extension." )
( "knik,k" , poptions::bool_switch(&knikSimple)->default_value(false) ( "knik,k" , poptions::bool_switch(&knikSimple)->default_value(false)
, "Perform a simple routing pass."); , "Perform a simple routing pass.")
( "KNIK,K" , poptions::bool_switch(&knikOverflow)->default_value(false) ( "KNIK,K" , poptions::bool_switch(&knikOverflow)->default_value(false)
, "Perform a routing pass, then analyse & re-route overflowed edges."); , "Perform a routing pass, then analyse & re-route overflowed edges.")
( "solution,s" , poptions::bool_switch(&loadSolution)->default_value(true) ( "solution,s" , poptions::bool_switch(&loadSolution)->default_value(true)
, "Load a previously generated routing solution."); , "Load a previously generated routing solution.")
( "Save,S" , poptions::bool_switch(&saveSolution)->default_value(false) ( "Save,S" , poptions::bool_switch(&saveSolution)->default_value(false)
, "Save the routed design."); , "Save the routed design.")
( "editor,e" , poptions::bool_switch(&graphicMode)->default_value(false) ( "editor,e" , poptions::bool_switch(&graphicMode)->default_value(false)
, "Launch the graphical editor."); , "Launch the graphical editor.");