mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
doc: deprecate RIOT_FILE_* macros
This commit is contained in:
parent
85dc9be1c9
commit
3c12ee0950
6
doc.txt
6
doc.txt
@ -65,8 +65,9 @@
|
|||||||
* @warning This only works within `*.c` and `*.cpp` files. For `*.h`/`*.hpp` files the
|
* @warning This only works within `*.c` and `*.cpp` files. For `*.h`/`*.hpp` files the
|
||||||
* source compiles, however, the including `*.c`/`*.cpp` file will be
|
* source compiles, however, the including `*.c`/`*.cpp` file will be
|
||||||
* substituted.
|
* substituted.
|
||||||
* @see `__FILE__` for absolute filenames that also work with *.h files
|
|
||||||
* @see @ref RIOT_FILE_NOPATH
|
* @see @ref RIOT_FILE_NOPATH
|
||||||
|
* @deprecated This macro will be removed after the 2025.10 release.
|
||||||
|
* Use the compiler builtin `__FILE__` instead (GCC 8+, clang 10+)
|
||||||
*/
|
*/
|
||||||
#if DOXYGEN
|
#if DOXYGEN
|
||||||
# define RIOT_FILE_RELATIVE
|
# define RIOT_FILE_RELATIVE
|
||||||
@ -78,8 +79,9 @@
|
|||||||
* @warning This only works within `*.c` and `*.cpp` files. For `*.h`/`*.hpp` files the
|
* @warning This only works within `*.c` and `*.cpp` files. For `*.h`/`*.hpp` files the
|
||||||
* source compiles, however, the including `*.c`/`*.cpp` file will be
|
* source compiles, however, the including `*.c`/`*.cpp` file will be
|
||||||
* substituted.
|
* substituted.
|
||||||
* @see `__FILE__` for absolute filenames that also work with *.h files
|
|
||||||
* @see @ref RIOT_FILE_RELATIVE
|
* @see @ref RIOT_FILE_RELATIVE
|
||||||
|
* @deprecated This macro will be removed after the 2025.10 release.
|
||||||
|
* Use the compiler builtin `__FILE_NAME__` instead (GCC 12+, clang 9+)
|
||||||
*/
|
*/
|
||||||
#if DOXYGEN
|
#if DOXYGEN
|
||||||
# define RIOT_FILE_NOPATH
|
# define RIOT_FILE_NOPATH
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user