From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: c99 support Date: Sat, 23 Jun 2018 22:07:24 +0200 Message-ID: <874lht4683.fsf@pobox.com> References: <878t7548ta.fsf@pobox.com> <83po0htihm.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529784346 5075 195.159.176.226 (23 Jun 2018 20:05:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2018 20:05:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: guile-users@gnu.org, guile-devel@gnu.org To: Eli Zaretskii Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 23 22:05:42 2018 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWon0-0001EU-6K for guile-devel@m.gmane.org; Sat, 23 Jun 2018 22:05:42 +0200 Original-Received: from localhost ([::1]:39569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWop7-0007Ac-9i for guile-devel@m.gmane.org; Sat, 23 Jun 2018 16:07:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWoot-00079H-Cp for guile-devel@gnu.org; Sat, 23 Jun 2018 16:07:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWoos-0000AG-Hf for guile-devel@gnu.org; Sat, 23 Jun 2018 16:07:39 -0400 Original-Received: from pb-sasl2.pobox.com ([64.147.108.67]:61033 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fWooo-00008t-0R; Sat, 23 Jun 2018 16:07:34 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 80730DAC74; Sat, 23 Jun 2018 16:07:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=/wUDxxPyZL51UyDoBUfFE2fs/y4=; b=Rt/CFk cNuhAuHkJioPEJpNWVyG9i/a4G0Ss6t2pDetDdBhpwm+kMaDV1gRNkaxz5QwR7GS iGpacknpKsuc7YWNSAA9gTGBnWgfNIUQ2FHWqZynHT3ICq5PZpFYaRUvLb7q9hWu SF/yv4FFFIVfuzbtsR8TmTJrjQZtZUDy5EzyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=N+Fd1BXofMCOPIumoAYdPZYZj0H/xRpu C9pDna2Mv9BVfAsNNd6+Bqzm1UnUGctvgJSJywh6XZvf6HE1ER133Spd16s66Ut0 m8/Swj7jz1rRgnPTMMJPpa6kVYMrJz7EKQdnXhOgl5Gkou30jN3sJOIlLMjuuY4l NSBvRah+wYg= Original-Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 65892DAC72; Sat, 23 Jun 2018 16:07:32 -0400 (EDT) Original-Received: from sparrow (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id 98AA3DAC71; Sat, 23 Jun 2018 16:07:31 -0400 (EDT) In-Reply-To: <83po0htihm.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 23 Jun 2018 22:23:17 +0300") X-Pobox-Relay-ID: 0FCC5AB0-7721-11E8-A204-4B4D894C8D7C-02397024!pb-sasl2.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.108.67 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19556 Archived-At: On Sat 23 Jun 2018 21:23, Eli Zaretskii writes: >> From: Andy Wingo >> Date: Sat, 23 Jun 2018 21:11:29 +0200 >> Cc: guile-devel@gnu.org >> >> Is there anyone who compiles Guile with a compiler that does not support >> C99? If so, please give platform and compiler. > > You mean C99 compiler or C99 C run-time library? Or both? > > MS-Windows (MinGW) doesn't have a C99 compliant C library, although > quite a few of what's needed is present. Hard to say :) I think my questions are limited to, in decreasing order of importance: * Is there any system that we target that doesn't have C99 stdint.h and stddef.h ? * Is there any system that we target that doesn't support C99 inline functions? * C99 mixed decls and statements? * C99 one-line comments (// foo) ? * C99 compound literals? ((struct x) { 1, 2 }) ? * stdbool.h I want to use C99 inside Guile, and I want to eventually replace scm_t_uint8 with uint8_t. I assume MinGW uses GCC. What version? I see that the version 6 series is available on mingw.org. Andy