From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Klausner Newsgroups: gmane.lisp.guile.bugs Subject: bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER Date: Sat, 16 Jul 2016 11:13:04 +0200 Message-ID: <20160716091303.GP23723@danbala.tuwien.ac.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1468660476 21875 80.91.229.3 (16 Jul 2016 09:14:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2016 09:14:36 +0000 (UTC) To: 24002@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jul 16 11:14:20 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bOLfu-0004BY-Ly for guile-bugs@m.gmane.org; Sat, 16 Jul 2016 11:14:18 +0200 Original-Received: from localhost ([::1]:36571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOLfq-0005Jk-GO for guile-bugs@m.gmane.org; Sat, 16 Jul 2016 05:14:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOLfi-0005JN-4e for bug-guile@gnu.org; Sat, 16 Jul 2016 05:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOLfe-0008Pu-2a for bug-guile@gnu.org; Sat, 16 Jul 2016 05:14:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOLfd-0008Pq-VQ for bug-guile@gnu.org; Sat, 16 Jul 2016 05:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bOLfd-0005HL-RG for bug-guile@gnu.org; Sat, 16 Jul 2016 05:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Klausner Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 16 Jul 2016 09:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24002 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146866040620225 (code B ref -1); Sat, 16 Jul 2016 09:14:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jul 2016 09:13:26 +0000 Original-Received: from localhost ([127.0.0.1]:53486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOLf3-0005G9-N0 for submit@debbugs.gnu.org; Sat, 16 Jul 2016 05:13:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOLf1-0005Fv-0e for submit@debbugs.gnu.org; Sat, 16 Jul 2016 05:13:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOLev-0008Md-1I for submit@debbugs.gnu.org; Sat, 16 Jul 2016 05:13:17 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOLeu-0008MN-UG for submit@debbugs.gnu.org; Sat, 16 Jul 2016 05:13:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOLes-00048T-UO for bug-guile@gnu.org; Sat, 16 Jul 2016 05:13:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOLen-0008Kb-Tk for bug-guile@gnu.org; Sat, 16 Jul 2016 05:13:13 -0400 Original-Received: from danbala.ifoer.tuwien.ac.at ([128.130.168.64]:50667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOLen-0008KK-Mu for bug-guile@gnu.org; Sat, 16 Jul 2016 05:13:09 -0400 Original-Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116) id 14990A5A4; Sat, 16 Jul 2016 11:13:04 +0200 (CEST) Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8308 Archived-At: Hi! On NetBSD, the build of guile-2.0.12 breaks early because FLEXIBLE_ARRAY_MEMBER is not defined: In file included from strftime.c:33:0: time-internal.h:48:14: error: 'FLEXIBLE_ARRAY_MEMBER' undeclared here (not in a function) char abbrs[FLEXIBLE_ARRAY_MEMBER]; ^ config.h has: /* #undef FLEXIBLE_ARRAY_MEMBER */ I think the problem is that m4/gnulib-comp.m4 has: if test "$HAVE_TIMEZONE_T" = 0; then func_gl_gnulib_m4code_flexmember fi but on NetBSD, HAVE_TIMEZONE_T is 1 and so func_gl_gnulib_m4code_flexmember is not called and FLEXIBLE_ARRAY_MEMBER is not defined. FLEXIBLE_ARRAY_MEMBER is used in time-internal.h which is included by: lib/time_rz.c lib/timegm.c lib/strftime.c lib/mktime.c so there might be more cases where this will break. Cheers, Thomas