RTEMS | x86_64/include/rtems/score/x86_64.h: Use standard variadic macro (!573)
Joel Sherrill (@joel)
gitlab at rtems.org
Fri Jul 25 01:38:55 UTC 2025
Joel Sherrill commented on a discussion on cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/573#note_127432
>
> #define FSBASE_MSR 0xC0000100
>
> -#if DEBUG
> -#define DBG_PRINTF(format, args...) \
> - printf(format, ## args)
> +#ifndef ASM
> +#ifdef DEBUG
Macros that are undefined have a 0 value. Changing to ifdef is more precise. We rarely use #if
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/573#note_127432
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/20250725/43ab7e64/attachment-0001.htm>
More information about the bugs
mailing list