[Issue 23631] [REG master] ./src/importc.h:80:8: warning: undefining "__has_builtin"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 19 03:43:28 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23631

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
ImportC does not has builtin, and those macros are predefined by cpp.
Therefore, cpp is run with -Wno-builtin-macro-redefined.

Perhaps you are building with an earlier dmd? That -W switch was added to dmd's
call to cpp very recently.

--


More information about the Digitalmars-d-bugs mailing list