From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11912 Path: news.gmane.org!.POSTED!not-for-mail From: =?ISO-8859-1?Q?J=F6rg?= Krause Newsgroups: gmane.linux.lib.musl.general Subject: Missing include of in sched.h? Date: Fri, 08 Sep 2017 09:46:56 +0200 Organization: Embedded Rocks Message-ID: <1504856816.12460.7.camel@embedded.rocks> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1504856845 24465 195.159.176.226 (8 Sep 2017 07:47:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2017 07:47:25 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11925-gllmg-musl=m.gmane.org@lists.openwall.com Fri Sep 08 09:47:11 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dqE0J-0005WX-23 for gllmg-musl@m.gmane.org; Fri, 08 Sep 2017 09:47:07 +0200 Original-Received: (qmail 5638 invoked by uid 550); 8 Sep 2017 07:47:11 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 5597 invoked from network); 8 Sep 2017 07:47:10 -0000 X-Mailer: Evolution 3.24.5 Xref: news.gmane.org gmane.linux.lib.musl.general:11912 Archived-At: Hi, latest Boost 1.65.1 fails to compile with a musl toolchain [1]. The issue is that Boost uses the `CPU_ZERO` macro which expands to `memset()` [2]. The Linux Programmer's Manual state that memset() is defined in string.h [3]. Therefore, shouldn't shed.h include string.h? [1] https://github.com/boostorg/fiber/pull/142 [2] https://git.musl-libc.org/cgit/musl/tree/include/sched.h#n110 [3] http://man7.org/linux/man-pages/man3/memset.3.html Best regards, Jörg Krause