patacongo edited a comment on issue #765: sched/sched_setpriority.c: DEBUGVERIFY, not DEBUGASSERT. URL: https://github.com/apache/incubator-nuttx/pull/765#issuecomment-612453692 This error has been around since August 24, 2019. It was introduced by commit e1202d2ed33a257cd6d812fde8c3a77a4d7c1d01 See https://github.com/apache/incubator-nuttx/commit/e1202d2ed33a257cd6d812fde8c3a77a4d7c1d01 That commit changed all occurrences of ASSERT to DEBUGASSERT. The logical flaw in do that is that the logic withing ASSERT runs unconditionally. Changing to DEBUGASSERT causes the logic to only execute conditionally, introducing this error. I suppose in retrospect that the simplest solution would have been to simply restore the ASSERT since the condition that is tested would be an OS failure.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services