Issue 24304 - __uint16_t, __uint32_t, __uint64_t are not recognized
Summary: __uint16_t, __uint32_t, __uint64_t are not recognized
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: ImportC, pull
Depends on:
Blocks:
 
Reported: 2023-12-27 18:55 UTC by Walter Bright
Modified: 2023-12-27 21:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Walter Bright 2023-12-27 18:55:43 UTC
/usr/include/x86_64-linux-gnu/bits/byteswap.h(34): Error: missing 
comma or semicolon after declaration of `__uint16_t`, found 
`__bswap_16` instead
/usr/include/x86_64-linux-gnu/bits/byteswap.h(41): Error: no type 
for declarator before `}`
/usr/include/x86_64-linux-gnu/bits/byteswap.h(49): Error: missing 
comma or semicolon after declaration of `__uint32_t`, found 
`__bswap_32` instead
/usr/include/x86_64-linux-gnu/bits/byteswap.h(56): Error: no type 
for declarator before `}`
/usr/include/x86_64-linux-gnu/bits/byteswap.h(69): Error: missing 
comma or semicolon after declaration of `__inline`, found 
`__uint64_t` instead
/usr/include/x86_64-linux-gnu/bits/byteswap.h(77): Error: no type 
for declarator before `}`
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h(33): Error: 
missing comma or semicolon after declaration of `__uint16_t`, 
found `__uint16_identity` instead
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h(36): Error: 
no type for declarator before `}`
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h(39): Error: 
missing comma or semicolon after declaration of `__uint32_t`, 
found `__uint32_identity` instead
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h(42): Error: 
no type for declarator before `}`
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h(45): Error: 
missing comma or semicolon after declaration of `__uint64_t`, 
found `__uint64_identity` instead
Comment 1 Dlang Bot 2023-12-27 19:06:06 UTC
@WalterBright created dlang/dmd pull request #15956 "fix Issue 24304 - __uint16_t, __uint32_t, __uint64_t are not recognized" fixing this issue:

- fix Issue 24304 - __uint16_t, __uint32_t, __uint64_t are not recognized

https://github.com/dlang/dmd/pull/15956
Comment 3 Dlang Bot 2023-12-27 21:48:34 UTC
dlang/dmd pull request #15956 "fix Issue 24304 - __uint16_t, __uint32_t, __uint64_t are not recognized" was merged into master:

- c1aa39f4e3c877b11e8629e16136bf9279676f91 by Walter Bright:
  fix Issue 24304 - __uint16_t, __uint32_t, __uint64_t are not recognized

https://github.com/dlang/dmd/pull/15956