1
0
mirror of https://github.com/facebook/zstd.git synced 2025-08-08 17:22:10 +03:00

More descriptive exclusion error; updated docs and copyright

This commit is contained in:
Carl Woffenden
2022-01-20 14:50:31 +01:00
parent dc983e7d68
commit 3f181b6192
4 changed files with 14 additions and 6 deletions

View File

@@ -171,7 +171,7 @@ def add_file(file: Path, file_name: str = None) -> None:
if (resolved):
if (resolved in excludes):
# The file was excluded so error if the compiler uses it
write_line(f'#error Using excluded file: {inc_name}')
write_line(f'#error Using excluded file: {inc_name} (re-amalgamate source to fix)')
error_line(f'Excluding: {inc_name}')
else:
if (resolved not in found):