speccy88 commented on PR #3578:
URL: https://github.com/apache/nuttx-apps/pull/3578#issuecomment-4856882421
Updated to use `-Wno-shadow` instead of carrying a second source patch.
I kept the flag scoped to the Berry build only:
- Make: `CFLAGS += -Wno-shadow`
- CMake: `BERRY_FLAGS` now includes `-Wno-shadow`
I reran the targeted failing config in the Apache Linux CI container against
the NuttX PR head plus this apps commit:
```
./tools/testbuild.sh -l -C -x -j $(nproc) -a ../apps \
-t /github/workspace/sources/nuttx \
-e '-Wno-cpp -Werror' -S /github/workspace/sim-berry-make.dat
./tools/testbuild.sh -l -C -x -N -j $(nproc) -a ../apps \
-t /github/workspace/sources/nuttx \
-e '-Wno-cpp -Werror' -S /github/workspace/sim-berry-cmake.dat
```
Both Make and CMake/Ninja `sim:berry` builds passed.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]