1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

Merge pull request #21345 from mguetschow/doc-file-macros-deprecate

doc: deprecate RIOT_FILE_* macros
This commit is contained in:
Martine Lenders 2025-04-02 12:36:40 +00:00 committed by GitHub
commit c69ef85e41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,8 +65,9 @@
* @warning This only works within `*.c` and `*.cpp` files. For `*.h`/`*.hpp` files the
* source compiles, however, the including `*.c`/`*.cpp` file will be
* substituted.
* @see `__FILE__` for absolute filenames that also work with *.h files
* @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
# define RIOT_FILE_RELATIVE
@ -78,8 +79,9 @@
* @warning This only works within `*.c` and `*.cpp` files. For `*.h`/`*.hpp` files the
* source compiles, however, the including `*.c`/`*.cpp` file will be
* substituted.
* @see `__FILE__` for absolute filenames that also work with *.h files
* @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
# define RIOT_FILE_NOPATH