From 045ba07debf32f643f5af7a3a4ee794f226ed22e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Jan 2021 17:55:13 +0100 Subject: Suppress include warning from the use of struct timespec On 64-bit Linux, this structure uses __syscall_slong_t for tv_nsec, which confuses include-what-you-use. I can't think of a way to properly address this generally, so just declare it as coming from ctime, which is what Semaphore gets it from. --- .includes.imp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to '.includes.imp') diff --git a/.includes.imp b/.includes.imp index 0edc929..22d8884 100644 --- a/.includes.imp +++ b/.includes.imp @@ -1,9 +1,10 @@ [ - { "symbol": [ "std::exception", "private", "", "public" ] }, - { "symbol": [ "std::max", "private", "", "public" ] }, - { "symbol": [ "std::min", "private", "", "public" ] }, - { "symbol": [ "uint32_t", "private", "", "public" ] }, - { "symbol": [ "timespec", "private", "", "public" ] }, - { "symbol": [ "time_t", "private", "", "public" ] }, - { "symbol": [ "CLOCK_REALTIME", "private", "", "public" ] } + { "symbol": [ "std::exception", "private", "", "public" ] }, + { "symbol": [ "std::max", "private", "", "public" ] }, + { "symbol": [ "std::min", "private", "", "public" ] }, + { "symbol": [ "uint32_t", "private", "", "public" ] }, + { "symbol": [ "timespec", "private", "", "public" ] }, + { "symbol": [ "time_t", "private", "", "public" ] }, + { "symbol": [ "CLOCK_REALTIME", "private", "", "public" ] }, + { "symbol": [ "__syscall_slong_t", "private", "", "public" ] } ] -- cgit v1.2.1