Description
When running my build script, something recently changed that is causing many (hundreds of) warnings like the one below. I have a tree from a week ago that gets no warnings at all. I see these on my Mac only. AWS builds cleanly.
../../../src/include/gcc.h:26:53: note: expanded from macro
|
'WT_GCC_FUNC_DECL_ATTRIBUTE'
|
#define WT_GCC_FUNC_DECL_ATTRIBUTE(x) __attribute__(x)
|
^
|
In file included from ../../../bench/wtperf/wtperf_truncate.c:29:
|
In file included from ../../../bench/wtperf/wtperf.h:32:
|
In file included from ../../../test/utility/test_util.h:28:
|
In file included from ../../../src/include/wt_internal.h:356:
|
../../../src/include/extern.h:635:107: warning: unknown attribute 'cold' ignored
|
[-Wattributes]
|
...*session, const char *uri) WT_GCC_FUNC_DECL_ATTRIBUTE((cold)) ...
|
And my compiler:
% cc --version
|
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
|
Target: x86_64-apple-darwin12.4.0
|
Thread model: posix
|