xiaoxiang781216 closed issue #10416: How to print filename and line by assert
URL: https://github.com/apache/nuttx/issues/10416
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
anchao commented on issue #10416:
URL: https://github.com/apache/nuttx/issues/10416#issuecomment-1770170073
Thanks for the clear explanation, I followed your suggestion to separate
CONFIG_ASSERTIONS_FILENAME from CONFIG_DEBUG_ASSERTIONS_FILENAME, and remove
the coupling between assert(3) wi
SPRESENSE commented on issue #10416:
URL: https://github.com/apache/nuttx/issues/10416#issuecomment-1767541151
@anchao
> You mean CONFIG_DEBUG is actually CONFIG_NDEBUG=y right?
No. It is not about `CONFIG_NDEBUG`.
The NuttX assertion has two types, `assert()`(=`ASSERT()`) an
anchao commented on issue #10416:
URL: https://github.com/apache/nuttx/issues/10416#issuecomment-1765982237
You mean `CONFIG_DEBUG` is actually `CONFIG_NDEBUG=y` right? This is not
introduced by my PR:
https://github.com/apache/nuttx/blob/master/include/assert.h#L110-L114
so your p
SPRESENSE commented on issue #10416:
URL: https://github.com/apache/nuttx/issues/10416#issuecomment-1758684786
I think that `assert()` should print the filename and line without
`CONFIG_DEBUG`.
--
This is an automated message from the Apache Git Service.
To respond to the message, ple
anchao commented on issue #10416:
URL: https://github.com/apache/nuttx/issues/10416#issuecomment-1757382171
I just check the config, `CONFIG_DEBUG_ASSERTIONS_FILENAME` is default y if
enable `CONFIG_DEBUG_ASSERTIONS` ,
the assert file name could be printed if enable `CONFIG_DEBUG_ASSERTIO
SPRESENSE commented on issue #10416:
URL: https://github.com/apache/nuttx/issues/10416#issuecomment-1757166309
@xiaoxiang781216 @anchao How about this issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL