compilation on OSX

This commit is contained in:
Christophe Alexandre 2008-03-06 17:13:34 +00:00
parent 6a517225a6
commit 4222306aa1
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ Cell::Cell(Library* library, const Name& name)
throw Error("Can't create " + _TName("Cell") + " : empty name"); throw Error("Can't create " + _TName("Cell") + " : empty name");
if (_library->GetCell(_name)) if (_library->GetCell(_name))
throw Error("Can't create " + _TName("Cell") + " : already exists"); throw Error("Can't create " + _TName("Cell") + " " + GetString(_name) + " : already exists");
} }
Cell* Cell::Create(Library* library, const Name& name) Cell* Cell::Create(Library* library, const Name& name)

View File

@ -258,7 +258,7 @@ Net::Net(Cell* cell, const Name& name)
throw Error("Can't create " + _TName("Net") + " : empty name"); throw Error("Can't create " + _TName("Net") + " : empty name");
if (_cell->GetNet(_name)) if (_cell->GetNet(_name))
throw Error("Can't create " + _TName("Net") + " : already exists"); throw Error("Can't create " + _TName("Net ") + GetString(_name) + " : already exists");
} }
Net* Net::Create(Cell* cell, const Name& name) Net* Net::Create(Cell* cell, const Name& name)

View File

@ -25,7 +25,7 @@ SET(includes ProxyProperty.h PyBox.h PyCell.h PyCellLocator.h
ADD_LIBRARY(isobar SHARED ${sources}) ADD_LIBRARY(isobar SHARED ${sources})
TARGET_LINK_LIBRARIES(isobar hurricane) TARGET_LINK_LIBRARIES(isobar hurricane ${PYTHON_LIBRARIES})
SET(source_dir ${HURRICANE_SOURCE_DIR}/src/pyext) SET(source_dir ${HURRICANE_SOURCE_DIR}/src/pyext)
SET(binary_dir ${HURRICANE_BINARY_DIR}/src/pyext) SET(binary_dir ${HURRICANE_BINARY_DIR}/src/pyext)