nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-nuttx] patacongo opened a new issue #1091: features.h: Out of date Clang support
Date Wed, 20 May 2020 13:04:15 GMT

patacongo opened a new issue #1091:

   This was Issue 162 in the old Bitbucket repository
   Jon Taylor
   created an issue 2019-08-26
   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))
       # define __glibc_clang_prereq(maj, min) 0
   …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:

View raw message