nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #858: Would a PR to switch to '#pragma once' be accepted?
Date Fri, 24 Apr 2020 11:59:24 GMT

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



Mime
View raw message