October 04, 2023 [Issue 24173] New: ImportC: unable to parse microsoft extended integer literals | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24173 Issue ID: 24173 Summary: ImportC: unable to parse microsoft extended integer literals Product: D Version: D2 Hardware: All OS: Windows Status: NEW Keywords: ImportC Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: dave287091@gmail.com Apparently MSVC has syntax for 32bit and 64bit integer literal suffix. It’s like: unsigned __int32 s = 0xffffffffui32; unsigned __int64 s2 = 0xffffffffffffffffui64; __int32 s3 = 0xffffffffi32; __int64 s4 = 0xffffffffffffffffi64; __int64 s5 = 12i64; __int32 s6 = 07i32; Encountered this as my copy of <stdint.h> defines SIZE_MAX using these suffixes. I can’t find where these suffixes are documented. -- |
Copyright © 1999-2021 by the D Language Foundation