-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C 头文件名不应被视为过时的 #34
Comments
虽然但是,我觉得不使用 C 头文件名 是没问题的,这个兼容在我看来纯属是被迫。 |
这个要求对应 MISRA C++ 2008 18-0-1,算是车规级标准的硬性要求吧,车载产品如果要过审还是得遵守的,现在我们依据的还是C++11,正在向 C++17 靠拢,这个问题先记下,感谢提醒~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题来自提交 69bba35 。
C++ 标准中将 C 头文件设为弃用是历史错误,因为大部分 C 头文件并不是待移除的候选。 C++23 更正了这个问题,见 WG21 P2340R1。
现在的推荐应该是
The text was updated successfully, but these errors were encountered: