mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-30 09:48:30 +02:00
Messages: Generates messages ids during build and stop in case of duplicate and fix duplicate messages ids (#210)
* msg: Turn warnings into errors with more explicit meaning and make script returns an error code. Signed-off-by: Christian Costa <[email protected]> * msg: Generate messages.txt during build and stop in case of duplicated message ids. Signed-off-by: Christian Costa <[email protected]> * msg: Fix duplicate messages ids. Signed-off-by: Christian Costa <[email protected]> * msg: Do not fail build on duplicated ids and turn errors into warnings. Signed-off-by: Christian Costa <[email protected]> * msg: Remove messages.txt and use full path to it in gitignore. Signed-off-by: Christian Costa <[email protected]> --------- Signed-off-by: Christian Costa <[email protected]>
This commit is contained in:
@@ -624,7 +624,7 @@ SpefScanner::SpefScanner(std::istream *stream,
|
||||
void
|
||||
SpefScanner::error(const char *msg)
|
||||
{
|
||||
report_->fileError(1866, filename_.c_str(), lineno(), "%s", msg);
|
||||
report_->fileError(1867, filename_.c_str(), lineno(), "%s", msg);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user