You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/05/07 19:50:39 UTC

[GitHub] [incubator-nuttx] patacongo commented on pull request #996: sched/init/nx_start.c: Reinstate logic to remove compiler warning

patacongo commented on pull request #996:
URL: https://github.com/apache/incubator-nuttx/pull/996#issuecomment-625461994


   > Does it make sense to generate some warning for the wrong configuration at least? Or it is better to use #error to stop the compiling ifthe wrong configuraton is detected. Otherwise, people may spend a full day or more to debug the crash issue if he/she don't understand how NuttX initialize the memory subsystem deeply.
   
   There is nothing wrong with the configuration.  The warning occurs because the variables are truly unused in almost all configurations.  They need to be #ifdef'ed out.
   


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

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