F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Deprecate.hpp
Go to the documentation of this file.
1
// deprecate.hpp:
2
//
3
// A minor implementation of compile-time deprecation for the fprime framework.
4
5
#ifndef FW_DEPRECATE_HPP
6
#define FW_DEPRECATE_HPP
7
8
#ifdef __GNUC__
9
#define DEPRECATED(func, message) func __attribute__ ((deprecated(message)))
10
#else
11
#warning "No implementation of DEPRECATED for given compiler. Please check for use of DEPRECATED() functions"
12
#define DEPRECATED(func) func
13
#endif
14
15
#endif // FW_DEPRECATE_HPP
Fw
Deprecate.hpp
Generated by
1.8.17