summaryrefslogtreecommitdiff
path: root/tests/stack_protector_test_helper.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-04-01 10:25:19 -0700
committerElliott Hughes <enh@google.com>2016-04-01 10:25:52 -0700
commitcd3abe38ef6c425cfccfc897937fed097f8753c8 (patch)
tree7892a38afb1db0512bc079c73293ced7346fdbaa /tests/stack_protector_test_helper.cpp
parente9daecf74b276c780d65ded0c340193691dc69e5 (diff)
Tell GCC that sometimes we have to build deprecated functions.
We're the C library. Nothing could be more deprecated. bionic/libc/bionic/pthread_cond.cpp:243:10: error: 'int pthread_cond_timedwait_relative_np(pthread_cond_t*, pthread_mutex_t*, const timespec*)' is deprecated (declared at bionic/libc/bionic/pthread_cond.cpp:227): use pthread_cond_timedwait instead [-Werror=deprecated-declarations] return pthread_cond_timedwait_relative_np(cond_interface, mutex, &ts); ^ bionic/libc/bionic/pthread_cond.cpp:243:71: error: 'int pthread_cond_timedwait_relative_np(pthread_cond_t*, pthread_mutex_t*, const timespec*)' is deprecated (declared at bionic/libc/bionic/pthread_cond.cpp:227): use pthread_cond_timedwait instead [-Werror=deprecated-declarations] return pthread_cond_timedwait_relative_np(cond_interface, mutex, &ts); ^ Change-Id: Idb3d445e053c44180773f59774df19b324f6817f
Diffstat (limited to 'tests/stack_protector_test_helper.cpp')
0 files changed, 0 insertions, 0 deletions