[Issue 24297] ImportC incompatible with glibc _FORTIFY_SOURCE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 24 06:36:34 UTC 2023


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

Walter Bright <bugzilla at digitalmars.com> changed:

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

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
The usual way to handle these sorts of extensions is to make macros for them
that expand to nothing, and put those macros in druntime/src/importc.h.

However, this bug report has insufficient information in it to do that, though
I suspect that an:

    #undef _FORTIFY_SOURCE

might work?

--


More information about the Digitalmars-d-bugs mailing list