You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "extinguish (via GitHub)" <gi...@apache.org> on 2026/01/13 08:42:38 UTC

[PR] ghs: replace the "-Wall" build option with the "-ghstd=last" [nuttx]

extinguish opened a new pull request, #17856:
URL: https://github.com/apache/nuttx/pull/17856

   ## Summary
   
   Update Green Hills (GHS) toolchain warning configuration by replacing the deprecated -Wall flag with the recommended -ghstd=last option in both CMake and Makefile build systems. This change applies only when building with the GHS toolchain, while other toolchains continue to use -Wall.
   
   ## Impact
   
   1. Aligns NuttX build configuration with Green Hills compiler best practices and documentation recommendations
   2. No impact on other toolchains (GCC, Clang, etc.) which continue to use -Wall
   
   ## Testing
   
   1. Verified successful compilation with Green Hills toolchain using the new -ghstd=last flag
   2. Confirmed that the change is properly conditionalized and does not affect non-GHS toolchain builds
   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] arch/arm: replace the "-Wall" build option with the "-ghstd=last" [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #17856:
URL: https://github.com/apache/nuttx/pull/17856


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org