ADTF
Loading...
Searching...
No Matches
adtf_base_deprecated.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADTF3_DEPRECATED(_depr_message_)
 
#define ADTF3_IGNORE_DEPRECATION_WARNING_BEGIN
 
#define ADTF3_IGNORE_DEPRECATION_WARNING_END    _Pragma("GCC diagnostic pop")
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved

Macro Definition Documentation

◆ ADTF3_DEPRECATED

#define ADTF3_DEPRECATED ( _depr_message_)
Value:
[[deprecated(_depr_message_)]]

Mark a function or variable as deprecated.

To mark the function

void foo(...);

as deprecated declare

ADTF3_DEPRECATED("Use further foo implementation")
void foo(...);
#define ADTF3_DEPRECATED(_depr_message_)
Definition adtf_base_deprecated.h:27
Parameters
[in]_depr_message_The message

◆ ADTF3_IGNORE_DEPRECATION_WARNING_BEGIN

#define ADTF3_IGNORE_DEPRECATION_WARNING_BEGIN
Value:
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")