December 27, 2022 [Issue 23582] New: undefined identifier `__builtin___memset_chk` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23582 Issue ID: 23582 Summary: undefined identifier `__builtin___memset_chk` Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: doob@me.com Compiling the following C code: #include <string.h> void foo() { memset(0, 0, 0); } Results in the following error: foo.c(5): Error: undefined identifier `__builtin___memset_chk` If I run the C code manually through the preprocessor this is the relevant output: void foo() { __builtin___memset_chk (0, 0, 0, __builtin_object_size (0, 0)); } I'm using macOS 13.0.1, DMD v2.101.1 and Xcode 14.2. -- |
Copyright © 1999-2021 by the D Language Foundation