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 12:29:57 UTC

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

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


   @xiaoxiang781216 just seeing a lot of complex header protection defines that someone has to put together (or script) that would go away.
   
   @patacongo I appreciate that, normally I wouldn't advocate for a pragma as they are compiler implementation specific. It's too bad that it hasn't made its way into the language standard proper yet. It's been supported by basically all compilers for a dozen years now.
   
   If, at some point, an exception would be made for this particular pragma, let me know!


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