C and C++ Binaries


BADFUNC.GMTIME_S : Use of gmtime_s

Summary

A use of gmtime_s().

Properties

Class Name Use of gmtime_s
Significance style
Mnemonic BADFUNC.GMTIME_S
Categories
MisraC2023 MisraC2023:1.4 Emergent language features shall not be used
Misra2012 Misra2012:1.4 Emergent language features shall not be used
CERT-C CERT-C:MSC23-C Beware of vendor-specific library and language differences
Availability Available for C and C++.
Enabling Checks for this warning class are disabled by default. To enable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += allow class="Use of gmtime_s"

Relevant Configuration File Parameters

This class is implemented using a BAD_FUNCTION_* rule set in the general template configuration file.

The following configuration file parameters affect checks for this warning class.