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:
Christian Costa
2025-02-12 09:33:13 -08:00
committed by GitHub
parent c321b1b4f6
commit bee31c7d68
13 changed files with 32 additions and 594 deletions
+1 -1
View File
@@ -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