mailing list of musl libc
 help / color / mirror / code / Atom feed
* boost 1.67 with static_assert(!WIFSIGNALED(0x7f))
@ 2018-08-10 15:45 Natanael Copa
  2018-08-10 15:59 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Natanael Copa @ 2018-08-10 15:45 UTC (permalink / raw)
  To: musl

Hi,

Boost 1.67 introduced this compile time assert:
https://github.com/boostorg/process/commit/6625999765bbe24cc9e255bdeb284ea82d5f2258


> static_assert(!WIFEXITED(still_active) && !WIFSIGNALED(still_active), "Internal Error");

This was apparently introduced to prevent that WIFSIGNALED clashes with WIFSTOPPED.

On musl this results into:

/usr/include/boost/process/detail/posix/is_running.hpp:20:1: error: static assertion failed: Internal Error
 static_assert(!WIFEXITED(still_active) && !WIFSIGNALED(still_active), "Internal Error");
 ^~~~~~~~~~~~~

I wonder if the boost change is wrong or if musl WIFSIGNALED(0x7f) is buggy?

-nc


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-10 22:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-10 15:45 boost 1.67 with static_assert(!WIFSIGNALED(0x7f)) Natanael Copa
2018-08-10 15:59 ` Rich Felker
2018-08-10 22:07   ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).