RTEMS | libdebugger/rtems-debugger-arm.c: Warning for using defined() in expansion (!719)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Sep 11 23:44:22 UTC 2025
Kinsey Moore started a new discussion on cpukit/libdebugger/rtems-debugger-arm.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/719#note_130803
> *
> * If the variant only supports thumb insturctions disable the support.
> */
> -#define NEEDS_THUMB_SWITCH !ARM_THUMB_ONLY && defined(__thumb__)
> -
> -#if NEEDS_THUMB_SWITCH
> +#if !ARM_THUMB_ONLY && defined(__thumb__)`
Is this supposed to have a trailing backtick?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/719#note_130803
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250911/8e86183a/attachment.htm>
More information about the bugs
mailing list