Revert "client: respect terse output on client <--> backend relationship"
[fio.git] / compiler / compiler-gcc4.h
CommitLineData
4fee8096
JA
1#ifndef FIO_COMPILER_GCC4_H
2#define FIO_COMPILER_GCC4_H
3
72711fb7 4#ifndef __must_check
4fee8096 5#define __must_check __attribute__((warn_unused_result))
72711fb7 6#endif
4fee8096 7
cd5902f9
JA
8#define GCC_VERSION (__GNUC__ * 10000 \
9 + __GNUC_MINOR__ * 100 \
10 + __GNUC_PATCHLEVEL__)
11
12#if GCC_VERSION >= 40300
13#define __compiletime_warning(message) __attribute__((warning(message)))
14#define __compiletime_error(message) __attribute__((error(message)))
15#endif
16
4fee8096 17#endif