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/20 13:04:15 UTC

[GitHub] [incubator-nuttx] patacongo opened a new issue #1091: features.h: Out of date Clang support

patacongo opened a new issue #1091:
URL: https://github.com/apache/incubator-nuttx/issues/1091


   This was Issue 162 in the old Bitbucket repository
   
   Jon Taylor
   created an issue 2019-08-26
   
   Hi,
   
   In nuttx/include/features.h, there is a missing block found in my /usr/include/features.h:
   
       /* Similarly for clang. Features added to GCC after version 4.2 may
       or may not also be available in clang, and clang's definitions of
       __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such
       features can be queried via __has_extension/__has_feature. */
       #if defined __clang_major__ && defined __clang_minor__
       # define __glibc_clang_prereq(maj, min) \
       ((__clang_major__ << 16) + __clang_minor__ >= ((maj) << 16) + (min))
       #else
       # define __glibc_clang_prereq(maj, min) 0
       #endif
   
   …which leads to build problems with NuttX on my Ubuntu 19 box. The features.h file in general appears to be a copy of glibc’s features.h, which might therefore be out of date and need to be updated…?
   


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



[GitHub] [incubator-nuttx] yamt commented on issue #1091: features.h: Out of date Clang support

Posted by GitBox <gi...@apache.org>.
yamt commented on issue #1091:
URL: https://github.com/apache/incubator-nuttx/issues/1091#issuecomment-632511780


   i'm not sure what's "nuttx/include/features.h".
   


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



[GitHub] [incubator-nuttx] xiaoxiang781216 closed issue #1091: features.h: Out of date Clang support

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 closed issue #1091:
URL: https://github.com/apache/incubator-nuttx/issues/1091


   


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



[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #1091: features.h: Out of date Clang support

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on issue #1091:
URL: https://github.com/apache/incubator-nuttx/issues/1091#issuecomment-660223864


   NuttX don't have include/features.h, let's close this issue.


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