From acb53d53c900f21b5940554dfba8d7ad94f4bcba Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 9 Oct 2018 08:43:08 +0200 Subject: posix: Remove static assertion Standard C does not allow pointer operands in an integer constant expressions. GCC issues only a -Wpedantic warning in the removed static assertion. However, clang is pedantic by default and issues an error. Rely on the test case instead. --- cpukit/posix/src/seminit.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'cpukit') diff --git a/cpukit/posix/src/seminit.c b/cpukit/posix/src/seminit.c index 65104ad2c7..e752a2752b 100644 --- a/cpukit/posix/src/seminit.c +++ b/cpukit/posix/src/seminit.c @@ -22,8 +22,6 @@ #include -RTEMS_STATIC_ASSERT(NULL == SEM_FAILED, sem_failed); - /* * 11.2.1 Initialize an Unnamed Semaphore, P1003.1b-1993, p.219 */ -- cgit v1.2.3