__ builtin___snprintf_chk Not Supported
Error Information
1 | error: no member named '__builtin___snprintf_chk' in |
Problem
Currently, Clang cannot check the formatted output of built-in functions. A warning is reported. When the -Werror option is enabled, the warning is escalated to an error.
Solution
Add -Wno-builtin-memcpy-chk-size to compiler options to avoid the alarm.
Parent topic: Clang Compatibility Problems