These 3 patches add real support for __BASE_FILE__ as until now its expansion just returned the fixed string: "base_file.c". This series is available at: git://github.com/lucvoo/sparse.git base-file based on commit: 14964df5373292af78b29529d4fc7e1a26b67a97 (sparse-next @ 2017-03-31) up to commit: f0988518f8792a203103af01f97ccb9b568bd37d Luc Van Oostenryck (3): build: add missing #include "compat.h" add sparse_basename() add real support for __BASE_FILE__ Makefile | 2 ++ compat.h | 1 + compat/basename.c | 16 ++++++++++++++++ compat/mmap-blob.c | 1 + compat/strtold.c | 1 + ident-list.h | 1 + lib.c | 3 --- pre-process.c | 4 ++++ validation/preprocessor/__BASE_FILE__.c | 11 +++++++++++ 9 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 compat/basename.c create mode 100644 validation/preprocessor/__BASE_FILE__.c -- Luc Van Oostenryck -- 2.12.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html