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/04/24 11:59:24 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #858: Would a PR to switch to '#pragma once' be accepted?

xiaoxiang781216 commented on issue #858:
URL: https://github.com/apache/incubator-nuttx/issues/858#issuecomment-618967665


   I think it's hard to use this since:
   1.NuttX need comatablie with C89 standard
   2.#pragma once isn't defined in C standard
   I also don't see the benefit to switch #ifndef/#define/#endif to #pragma once, do you have any particular reason?


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