[riot-notifications] [RIOT-OS/RIOT] build system: add machine-readable RIOT_VERSION_CODE macro (#16765)

Martine Lenders notifications at github.com
Tue Sep 21 11:04:45 CEST 2021


@miri64 commented on this pull request.



> +#define KERNEL_VERSION(a, b, c, d) (((uint64_t)(a) << 48) + ((uint64_t)(b) << 32) + \
+                                    ((uint64_t)(c) << 16) + (d))

Can someone do a quick test, if the preprocessor is fine with (or alternatively without) casts?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16765#discussion_r712845332
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210921/4752f175/attachment.htm>


More information about the notifications mailing list