From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 4930B1F5AE for ; Sat, 22 May 2021 12:25:12 +0000 (UTC) Received: from localhost ([::1]:48838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkQgp-0007sN-4z for normalperson@yhbt.net; Sat, 22 May 2021 08:25:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkQgm-0007s0-2a for bug-gnulib@gnu.org; Sat, 22 May 2021 08:25:08 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.160]:36348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkQgj-0005dd-PU; Sat, 22 May 2021 08:25:07 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1621686301; cv=none; d=strato.com; s=strato-dkim-0002; b=ONxmaD2Wd1BDb2jqiypj4xeYxTlKylvylHXTwXf+PWKk2Xoy7qD7LowfUfx20UWaam /Auopqn6iwdJLpyqpudSspUiZEIPXYzAfvWq4J3Hno2z9hv7qoZu8gPOhk6pMwU2ZLLr 82Wx7BhGsuJODUlSUcfbh7cX7bzlYs9P04Erry9S4QuxDNU6DQp/XwEEtIQIUme7TinK 4O3TaEXkf+x5okQL43u1iov1vOsQkWIj8ti4OnwGEhzfUZfm1ChPi8J2eIWrEOlM9ddE CZSp/3CGjM+daMikQJNxFdNhjgsUYn7Mz41iVvw4GRTQLlKhBcODvRSeUN5BT9qpHEz/ +UAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1621686301; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=WZx4G7jVlO5Zb7DzAdvx1JEg2tZJYdmEcwZVMrSLwTw=; b=GWtmLavFuFcTRL/ZlpjF1kvGLvw6qhEWGdteOdomDv0kSFQOq8n1LLvk6S3DK430/F A0+p8KQ/VtKfO3AzT2SUFt16Ys0hcKnMBdjq57yLEbGDXNkqDuej7U9/MYeODyvnKuhm BmbCmTfTDYbGtDXuFCWU2mRpaudsdcF9MiBwFGfILMTKwZsRGrp6yt/f0PofZiTJUOLf 6rzblPbYNY3UNe5gDYnzbo6Jo98KI5NuzYbFYr+q2n4WdC6mf4YUE+Fe5q5g231MU40e CyGkiPpDadDlQb7dv+/+5DINCealr4aBH+oFFkx9DFTHB76A3AgxtWDCKP/p7a4Hesyn jYzA== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1621686301; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=WZx4G7jVlO5Zb7DzAdvx1JEg2tZJYdmEcwZVMrSLwTw=; b=nvwoFlTd8F2Jdx1XriQo9IgwZpnYZKi4SrTpUKuyLa8Tbu2duw15V+s7rkBbkDuB5l EFH38chYR5ji1qUwLKyQW0UCik4XpIVSf/NAbqYdxG3BhwtG8MrjWe7gDexy1P/RHQTS N81Wl7Q5J9A4ZBfyHV/MdrDH1UhrsPQfiDOB+Fl16hAZlQnzO4MPA7QeS3c1a40Tn1lZ o6vk8TU1/s5VNzH1lHAuANQnlIr+N+6XvyHHUsyytZ5SBaSayIpPFjF989/eti55+GHF 0L6ifx80vlQ7uZTXc1AKRkxbIZUHl+ZBBXhVdlzpGA+xyXxk1lQnTAjEf8VhUV+X2KHJ ur+Q== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOHqf3z5NW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.26.1 DYNA|AUTH) with ESMTPSA id Z0bd4cx4MCP13qt (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sat, 22 May 2021 14:25:01 +0200 (CEST) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: can't compile `stdlib.h` on mxe Date: Sat, 22 May 2021 14:25:00 +0200 Message-ID: <2661657.bLj8NbuU8O@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20210522.120351.2143127505500278390.wl@gnu.org> References: <20210522.120351.2143127505500278390.wl@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=81.169.146.160; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Werner LEMBERG Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Hi Werner, > While compiling my `ttfautohint` package with a slightly tailored mxe > build, I get the following compilation error: > > CXX ttfautohintGUI-ddlineedit.moc.o > In file included from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/cwchar:44:0, > from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/bits/postypes.h:40, > from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/iosfwd:40, > from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/memory:72, > from ddlineedit.moc.cpp:9: > ../gnulib/src/stdlib.h:1904:1: error: expected ',' or '...' before 'string' > _GL_FUNCDECL_RPL (strtoull, unsigned long long, > ^ > > Attached is the built `stdlib.h` file, together with the used > `bootstrap.conf`. Please advise. The error message "expected ',' or '...' before 'string'" points to a problem with the 'restrict' keyword. An appropriate definition of 'restrict' should be available in the gnulib- generated config.h file. * Can you verify that ddlineedit.moc.cpp starts with a '#include ' statement? [1] * Can you show the block of preprocessor statements in that defines 'restrict'? * Can you show the command that is being executed (make V=1)? A symbolic placeholder like 'CXX' is useless for debugging a compilation failure. * What are the C compiler and C++ compiler versions that you use in this build? Bruno [1] https://www.gnu.org/software/gnulib/manual/html_node/Source-changes.html