andlabs / andlabs/libui

reserved identifier violation

未关闭
#23 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
10.9k
派生
612
PR 合并指标
30 天内没有已合并 PR

描述

I would like to point out that identifiers like "[`__LIBUI_UI_UNIX_H__`](https://github.com/andlabs/libui/blob/85ee2e93dd58663939530772841aeb97aa25e213/ui_unix.h#L7)" and "[`_UI_EXTERN`](https://github.com/andlabs/libui/blob/bf411e787e8c20d55e0351fe463e8619f226ddf5/ui.h#L16)" [do eventually not fit](https://www.securecoding.cert.org/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier) to the expected naming convention of the C++ language standard.
Would you like to adjust your selection for unique names?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。