MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / warn

Function warn

scripts/kconfig/kconfig.py:305–310  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

303
304
305def 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
313def err(msg):

Callers 4

check_deprecatedFunction · 0.70
check_experimentalFunction · 0.70

Calls 1

fillMethod · 0.80

Tested by

no test coverage detected