Changeset 7afd12e5 in mainline
- Timestamp:
- 2018-08-04T14:23:17Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ab7075f
- Parents:
- c8c418cf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/generic/include/printf_verify.h
rc8c418cf r7afd12e5 33 33 #define BOOT_PRINTF_VERIFY_H_ 34 34 35 #ifndef _HELENOS_NVERIFY_PRINTF 36 35 #ifdef __clang__ 36 #define _HELENOS_PRINTF_ATTRIBUTE(start, end) \ 37 __attribute__((format(__printf__, start, end))) 38 #else 37 39 #define _HELENOS_PRINTF_ATTRIBUTE(start, end) \ 38 40 __attribute__((format(gnu_printf, start, end))) 39 40 #else /* _HELENOS_NVERIFY_PRINTF */ 41 42 #define _HELENOS_PRINTF_ATTRIBUTE(start, end) 43 44 #endif /* _HELENOS_NVERIFY_PRINTF */ 41 #endif 45 42 46 43 #endif -
kernel/generic/include/printf/verify.h
rc8c418cf r7afd12e5 36 36 #define KERN_PRINTF_VERIFY_H_ 37 37 38 #ifndef _HELENOS_NVERIFY_PRINTF39 40 38 #ifdef __clang__ 41 39 #define _HELENOS_PRINTF_ATTRIBUTE(start, end) \ … … 46 44 #endif 47 45 48 49 #else /* _HELENOS_NVERIFY_PRINTF */50 51 #define _HELENOS_PRINTF_ATTRIBUTE(start, end)52 53 #endif /* _HELENOS_NVERIFY_PRINTF */54 55 46 #endif 56 47 -
kernel/test/print/print5.c
rc8c418cf r7afd12e5 37 37 * 38 38 */ 39 # define _HELENOS_NVERIFY_PRINTF39 #pragma GCC diagnostic ignored "-Wformat" 40 40 41 41 #include <print.h> -
uspace/lib/c/include/io/verify.h
rc8c418cf r7afd12e5 36 36 #define LIBC_IO_VERIFY_H_ 37 37 38 #ifndef _HELENOS_NVERIFY_PRINTF39 40 38 #ifdef __clang__ 41 39 #define _HELENOS_PRINTF_ATTRIBUTE(start, end) \ … … 46 44 #endif 47 45 48 #else /* _HELENOS_NVERIFY_PRINTF */49 50 #define _HELENOS_PRINTF_ATTRIBUTE(start, end)51 52 #endif /* _HELENOS_NVERIFY_PRINTF */53 54 46 #endif 55 47
Note:
See TracChangeset
for help on using the changeset viewer.