On 08/10/2018 16:07, Daniel Hellstrom wrote:
This static assertion ensures that POSIX_SEMAPHORE_VALIDATE_OBJECT()
rejects semaphore pointers with a SEM_FAILED value. We could change
this macro to test also for SEM_FAILED, but it would result in code
like this
if (sem == 0 (aka NULL) || sem
Daniel Hellstrom
Software Section Head
Cobham Gaisler
T : +46 (0) 31 775 8657
F : +46 (0) 31 421407
daniel.hellst...@gaisler.com
Cobham Gaisler AB, Kungsgatan 12, SE-411 19, GĂ–TEBORG, Sweden.
+46 (0) 31 775 8650, www.cobham.com/gaisler
Please consider the environment before printing this email
On 05/10/2018 08:57, Daniel Hellstrom wrote:
From: Jacob Hansen
This commits bypasses a static assert when using the Clang compiler.
This is done as the static assertion does not compile with Clang
("static_assert expression is not an integral constant expression").
I am not sure this static a
From: Jacob Hansen
This commits bypasses a static assert when using the Clang compiler.
This is done as the static assertion does not compile with Clang
("static_assert expression is not an integral constant expression").
I am not sure this static assertion makes sense at all. SEM_FAILED
is used