Re: [VOTE] Apache NuttX 12.3.0 RC0 release

2023-10-11 Thread Xiang Xiao
A recent change limits c++20 requirement to libcxx: https://github.com/apache/nuttx/pull/10860 The owner of libcxx decided not to support the build of libcxx by an old compiler, It's very hard to sync with the last libcxx version, and keep the support of the old compiler at the same time in the lon

Re: [VOTE] Apache NuttX 12.3.0 RC0 release

2023-10-11 Thread Tomek CEDRO
On Thu, Oct 12, 2023 at 12:19 AM Nathan Hartman wrote: > On Wed, Oct 11, 2023 at 3:21 PM Tomek CEDRO wrote: > > Hello world, > > I have encountered a basic esp32:nsh build error in nuttx-12.3.0-RC0 > > related to xtensa g++ 8.4.0 compiler: > > xtensa-esp32-elf-g++: error: unrecognized command line

Re: [VOTE] Apache NuttX 12.3.0 RC0 release

2023-10-11 Thread Nathan Hartman
Hi Tomek, On Wed, Oct 11, 2023 at 3:21 PM Tomek CEDRO wrote: > > Hello world, > > I have encountered a basic esp32:nsh build error in nuttx-12.3.0-RC0 > related to xtensa g++ 8.4.0 compiler: > > xtensa-esp32-elf-g++: error: unrecognized command line option > '-std=gnu++20'; did you mean '-std=gnu

Re: [VOTE] Apache NuttX 12.3.0 RC0 release

2023-10-11 Thread Tomek CEDRO
Hello world, I have encountered a basic esp32:nsh build error in nuttx-12.3.0-RC0 related to xtensa g++ 8.4.0 compiler: xtensa-esp32-elf-g++: error: unrecognized command line option '-std=gnu++20'; did you mean '-std=gnu++2a'? Therefore -1 from me at this point. This does not happen in 12.2.1. I

Re: Using static analysis to find (potential) bugs

2023-10-11 Thread Daniel Appiagyei
> if CONFIG_DEBUG_ASSERTIONS then __assert() is called. __assert() is a no-return function. In that case, it is impossible to reach the code that uses the pointer. The usages of the pointers occur before DEBUGASSERT() is called: Bug 1-3