extinguish commented on code in PR #12844:
URL: https://github.com/apache/nuttx/pull/12844#discussion_r1705027802


##########
libs/libxx/libcxxmini/libxx_cxa_guard.cxx:
##########
@@ -44,7 +44,7 @@ typedef int __guard;
 // variable and the first byte contains 0 prior to initialization, and
 // 1 after.
 
-__extension__ typedef int __guard __attribute__((mode(__DI__)));

Review Comment:
   > why not define to empty in compiler.h?
   
   is that mean to keep "libs/libxx/libcxxmini/libxx_cxa_guard.cxx" left 
unchanged, and add a following empty define in "nuttx/compiler.h":
   `#  define __extension__`
   



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to