(msg)
| 303 | |
| 304 | |
| 305 | def warn(msg): |
| 306 | # Use a large fill() width to try to avoid linebreaks in the symbol |
| 307 | # reference link, and add some extra newlines to set the message off from |
| 308 | # surrounding text (this usually gets printed as part of spammy CMake |
| 309 | # output) |
| 310 | print("\n" + textwrap.fill("warning: " + msg, 100) + "\n", file=sys.stderr) |
| 311 | |
| 312 | |
| 313 | def err(msg): |
no test coverage detected