Macros
suppress_warnings.h File Reference

Preprocessor macros to supress compiler warnings for a part of a file. More...

Go to the source code of this file.

Macros

#define CRAS_IGNORE_DEPRECATED_WARNING_BEGIN
 Ignore warnings about using deprecated declarations in the code following this macro. Do not forget to call CRAS_IGNORE_DEPRECATED_WARNING_END when the warnings should be restored. More...
 
#define CRAS_IGNORE_DEPRECATED_WARNING_END
 Resume reporting warnings about using deprecated declarations in the code following this macro. This has to be called after CRAS_IGNORE_DEPRECATED_WARNING_START when ignoring the warnings is no longer needed. More...
 
#define CRAS_IGNORE_PRINTF_SECURITY_WARNING_BEGIN
 Ignore warnings about passing variables as printf format in the code following this macro. Do not forget to call CRAS_IGNORE_PRINTF_SECURITY_WARNING_END when the warnings should be restored. More...
 
#define CRAS_IGNORE_PRINTF_SECURITY_WARNING_END
 Resume reporting warnings about using variables as printf format in the code following this macro. This has to be called after CRAS_IGNORE_PRINTF_SECURITY_WARNING_START when ignoring the warnings is no longer needed. More...
 

Detailed Description

Preprocessor macros to supress compiler warnings for a part of a file.

Author
Martin Pecka

Definition in file suppress_warnings.h.

Macro Definition Documentation

◆ CRAS_IGNORE_DEPRECATED_WARNING_BEGIN

#define CRAS_IGNORE_DEPRECATED_WARNING_BEGIN

Ignore warnings about using deprecated declarations in the code following this macro. Do not forget to call CRAS_IGNORE_DEPRECATED_WARNING_END when the warnings should be restored.

See also
CRAS_IGNORE_DEPRECATED_WARNING_END

Definition at line 52 of file suppress_warnings.h.

◆ CRAS_IGNORE_DEPRECATED_WARNING_END

#define CRAS_IGNORE_DEPRECATED_WARNING_END

Resume reporting warnings about using deprecated declarations in the code following this macro. This has to be called after CRAS_IGNORE_DEPRECATED_WARNING_START when ignoring the warnings is no longer needed.

See also
CRAS_IGNORE_DEPRECATED_WARNING_START

Definition at line 53 of file suppress_warnings.h.

◆ CRAS_IGNORE_PRINTF_SECURITY_WARNING_BEGIN

#define CRAS_IGNORE_PRINTF_SECURITY_WARNING_BEGIN

Ignore warnings about passing variables as printf format in the code following this macro. Do not forget to call CRAS_IGNORE_PRINTF_SECURITY_WARNING_END when the warnings should be restored.

See also
CRAS_IGNORE_PRINTF_SECURITY_WARNING_END

Definition at line 89 of file suppress_warnings.h.

◆ CRAS_IGNORE_PRINTF_SECURITY_WARNING_END

#define CRAS_IGNORE_PRINTF_SECURITY_WARNING_END

Resume reporting warnings about using variables as printf format in the code following this macro. This has to be called after CRAS_IGNORE_PRINTF_SECURITY_WARNING_START when ignoring the warnings is no longer needed.

See also
CRAS_IGNORE_PRINTF_SECURITY_WARNING_START

Definition at line 90 of file suppress_warnings.h.



cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sun Jan 14 2024 03:48:14