xuxin930 opened a new pull request, #14265:
URL: https://github.com/apache/nuttx/pull/14265
## Summary
The warning printout of the CI log will slow down our ability to locate the
real problem
toolchain file variable is global scope
dont need set parent scope
clear warning:
```shell
CMake Warning (dev) at
/github/workspace/sources/nuttx/arch/arm/src/cmake/gcc.cmake:69 (set):
Cannot set "GCCVER": current scope has no parent.
Call Stack (most recent call first):
/github/workspace/sources/nuttx/arch/arm/src/cmake/Toolchain.cmake:56
(include)
/github/workspace/sources/nuttx/build/CMakeFiles/3.26.0/CMakeSystem.cmake:6
(include)
/github/workspace/sources/nuttx/build/CMakeFiles/CMakeScratch/TryCompile-ZJVOZO/CMakeLists.txt:5
(project)
This warning is for project developers. Use -Wno-dev to suppress it.
```
<img width="647" alt="image"
src="https://github.com/user-attachments/assets/593592b5-6567-4108-8043-6f8bf4a62414">
## Impact
clear generator warning
## Testing
cmake -B build -DBOARD_CONFIG=qemu-armv7a:nsh
--
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]