[Issue 24639] ImportC: defines of negative constants not detected for enum conversion
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 17 12:37:50 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24639
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@tim-dlang created dlang/dmd pull request #16789 "Fix bugzilla 24639 - ImportC:
defines of negative constants not detec…" fixing this issue:
- Fix bugzilla 24639 - ImportC: defines of negative constants not detected for
enum conversion
Negative expressions inside parens are already supported. This adds
support for defines with negative numbers without parens, but not more
complex expressions. Defines for negative numbers are often used as
error codes in C.
https://github.com/dlang/dmd/pull/16789
--
More information about the Digitalmars-d-bugs
mailing list