Emit a warning if number of arguments to builtin or file app can be truncated
This commit is contained in:
parent
4db4ea2bbd
commit
eaddb9059f
@ -454,6 +454,12 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_NSH_BUILTIN_APPS) || defined(CONFIG_NSH_FILE_APPS)
|
||||||
|
# if CONFIG_NSH_MAXARGUMENTS > CONFIG_MAX_TASK_ARGS
|
||||||
|
# warning Number of built-in and file task arguments will be truncated to CONFIG_MAX_TASK_ARGS
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Argument list size
|
/* Argument list size
|
||||||
*
|
*
|
||||||
* argv[0]: The command name.
|
* argv[0]: The command name.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user