acassis commented on code in PR #16167:
URL: https://github.com/apache/nuttx/pull/16167#discussion_r2035541164


##########
include/nuttx/compiler.h:
##########
@@ -563,6 +563,10 @@
 #    define tz_nonsecure_call  __attribute__((cmse_nonsecure_call))
 #  endif
 
+/* Warning about usage of deprecated features. */
+
+#  define __deprecated  __attribute__((deprecated))

Review Comment:
   @xiaoxiang781216 removing the "__" will confuse some people, they will think 
"deprecated" is a language keyword. I used keeping "__deprecated" or something 
NuttX specific: NUTTX_DEPRECATED



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to