lupyuen commented on PR #2247:
URL: https://github.com/apache/nuttx-apps/pull/2247#issuecomment-1874894353

   Thanks @xiaoxiang781216! Right now the `hello_nim` build fails on QEMU Arm64 
because of the `const` warnings (since GCC `-Werror` is enabled). Lemme figure 
out if Nim Compiler can generate correct `const` code, then we can add it to CI.
   
   For now: I shall run an Auto Daily Build on my GitHub Actions account (with 
GCC `-Werror` disabled). So I will know if the Nim Build breaks.
   
   ```text
   
../../.nimcache/@m..@s..@s..@s..@s..@shome@[email protected]@stoolchains@snim-@hdevel@slib@[email protected]:362:285:
 error: initialization discards 'const' qualifier from pointer target type 
[-Werror=discarded-qualifiers]
     362 | IGNOF(tyObject_SelectorImpl__JWlu9aJYbxUSEZxA8xSjuMg), .depth = 0, 
.display = TM__gfe9a52b5gJr8GSrnr883iA_3, .traceImpl = 
(void*)eqtrace___pureZasyncdispatch_u2061, .flags = 0};
         |                                                                      
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   ```
   
   [(List of 
warnings)](https://gist.github.com/lupyuen/61f2e60f36b19f379406c83405ef16fd#file-nuttx-nim-arm64a-log-L409-L678)


-- 
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]

Reply via email to