From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11917 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:43:11 +0200 Organization: Embedded Rocks Message-ID: <1504856591.12460.5.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 1504867115 19666 195.159.176.226 (8 Sep 2017 10:38:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2017 10:38:35 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11930-gllmg-musl=m.gmane.org@lists.openwall.com Fri Sep 08 12:38:20 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 1dqGfp-0003y7-3g for gllmg-musl@m.gmane.org; Fri, 08 Sep 2017 12:38:09 +0200 Original-Received: (qmail 12077 invoked by uid 550); 8 Sep 2017 10:38:09 -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 3130 invoked from network); 8 Sep 2017 07:43:25 -0000 X-Mailer: Evolution 3.24.5 Xref: news.gmane.org gmane.linux.lib.musl.general:11917 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