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/11/11 07:16:11 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #2280: libcxx: Undefine __GLIBC__ to avoid sim environment conflict with the host

xiaoxiang781216 edited a comment on pull request #2280:
URL: https://github.com/apache/incubator-nuttx/pull/2280#issuecomment-725251420


   > `__GLIBC__` is not a predefined macro. it's defined by system headers.
   > it canl be defined again by system headers included after __config.
   > IMO it's better to avoid checking `__GLIBC__` in libcxx.
   
   Yes, but it isn't avoidable if we want to use the toolchain library(libm). match.h provided by system bring in `__GLIBC__` macro. Undefine `__GLIBC__` could fix the most issue so far.


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