AutosarC++17_10-A18.0.1ΒΆ

The C library facilities shall only be accessed through C++ library headers

Required inputs: IR

In C++ code, prefer the C++ names of the C standard headers. For example, use #include <cassert> instead of #include <assert.h>.

Also, when including C++ standard headers, prefer the standard name without the .h suffix.

Possible Messages

Key

Text

Severity

Disabled

c_lib_header

Include <{}> instead of <{}>.

None

False

cpp_lib_header_with_suffix

Include <{}> instead of <{}>.

None

False

Options