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-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_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 9C4241F8C2 for ; Mon, 8 Feb 2021 11:40:18 +0000 (UTC) Received: from localhost ([::1]:56050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l94tt-0006lX-C8 for normalperson@yhbt.net; Mon, 08 Feb 2021 06:40:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8zlh-0006E3-Md for bug-gnulib@gnu.org; Mon, 08 Feb 2021 01:11:30 -0500 Received: from freefriends.org ([96.88.95.60]:36844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8zlf-000074-Ky for bug-gnulib@gnu.org; Mon, 08 Feb 2021 01:11:29 -0500 X-Envelope-From: arnold@skeeve.com Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 1186BJdw009729 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 7 Feb 2021 23:11:20 -0700 Received: (from arnold@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 1186BJYj009728; Sun, 7 Feb 2021 23:11:19 -0700 From: arnold@skeeve.com Message-Id: <202102080611.1186BJYj009728@freefriends.org> X-Authentication-Warning: frenzy.freefriends.org: arnold set sender to arnold@skeeve.com using -f Date: Sun, 07 Feb 2021 23:11:19 -0700 To: bruno@clisp.org, arnold@skeeve.com Subject: Re: current gnulib regex breaks in gawk References: <202102070957.1179vU6M000313@freefriends.org> <12701376.Ek0rttrokf@omega> <202102071208.117C8s0q014959@freefriends.org> <2898337.fT53xVPUIt@omega> In-Reply-To: <2898337.fT53xVPUIt@omega> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=96.88.95.60; envelope-from=arnold@skeeve.com; helo=freefriends.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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: bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Hi Bruno. > 1) It chokes on a missing definition of macro _GL_ATTRIBUTE_FALLTHROUGH. > > Can you add this piece of text to a common .h file? > > #if 201710L < __STDC_VERSION__ > # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] > #elif _GL_HAS_ATTRIBUTE (fallthrough) > # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) > #else > # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) > #endif Fixed, in a slightly different fashion. > It seems you are not using gnulib's cdefs.h? You need both lib/libc-config.h > and lib/cdefs.h. That helped a lot. I still have to have the following change, otherwise I get a linkage error on the gl_dyanarray_* routines. :-( So, at least for the nonce, my copy and Gnulib's will be out of sync. Oh well. Thanks, Arnold --------------------- --- /usr/local/src/Gnu/gnulib/lib/regex_internal.h 2021-02-08 07:51:05.352326126 +0200 +++ regex_internal.h 2021-02-08 08:06:15.938934924 +0200 @@ -32,7 +32,7 @@ #include #include -#ifndef _LIBC +#if !defined(_LIBC) && !defined(GAWK) # include #endif