Opened 7 years ago
Closed 6 years ago
#17771 closed defect (fixed)
3.13 kernel compile bug U16_MAX and U32_MAX undeclared -> fixed after (not in) 5.2.12
Reported by: | gim | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.2.12 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | Linux |
Description
VirtualBox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/modesetting.c: In function ‘VBoxHGSMIGetScreenFlags’: /VirtualBox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/modesetting.c:353:32: error: ‘U16_MAX’ undeclared (first use in this function) if (RT_FAILURE(rc) || flags > U16_MAX) ... ^ VirtualBox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/hgsmi_base.c: In function ‘hgsmi_query_conf’: VirtualBox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/hgsmi_base.c:163:13: error: ‘U32_MAX’ undeclared (first use in this function) p->value = U32_MAX; ^
https://elixir.bootlin.com/linux/v3.13.11/source/include/linux/kernel.h https://elixir.bootlin.com/linux/v3.14/source/include/linux/kernel.h
Kernel lower v3.14 doesn't contain defines:
#define U8_MAX ((u8)~0U) #define S8_MAX ((s8)(U8_MAX>>1)) #define S8_MIN ((s8)(-S8_MAX - 1)) #define U16_MAX ((u16)~0U) #define S16_MAX ((s16)(U16_MAX>>1)) #define S16_MIN ((s16)(-S16_MAX - 1)) #define U32_MAX ((u32)~0U) #define S32_MAX ((s32)(U32_MAX>>1)) #define S32_MIN ((s32)(-S32_MAX - 1)) #define U64_MAX ((u64)~0ULL) #define S64_MAX ((s64)(U64_MAX>>1)) #define S64_MIN ((s64)(-S64_MAX - 1))
Attachments (1)
Change History (3)
by , 7 years ago
comment:1 by , 6 years ago
Summary: | 3.13 kernel compile bug U16_MAX and U32_MAX undeclared → 3.13 kernel compile bug U16_MAX and U32_MAX undeclared -> fixed after (not in) 5.2.12 |
---|
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sorry for the delay. Please see r72638 and the test builds:
wiki:Testbuilds