From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by sourceware.org (Postfix) with ESMTP id 7E276385E451 for ; Fri, 25 Mar 2022 15:16:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7E276385E451 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.crashing.org Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 22PFFEF3022782; Fri, 25 Mar 2022 10:15:14 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 22PFFDvt022779; Fri, 25 Mar 2022 10:15:13 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Fri, 25 Mar 2022 10:15:13 -0500 From: Segher Boessenkool To: PICCA Frederic-Emmanuel Cc: gcc-help@gcc.gnu.org Subject: Re: error: arrays of functions are not meaningful Message-ID: <20220325151513.GC614@gate.crashing.org> References: <1898945244.2653051.1648218927634.JavaMail.zimbra@synchrotron-soleil.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1898945244.2653051.1648218927634.JavaMail.zimbra@synchrotron-soleil.fr> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2022 15:16:16 -0000 On Fri, Mar 25, 2022 at 03:35:27PM +0100, PICCA Frederic-Emmanuel wrote: > Hello, I try to activate the gcc10 analyzer > but then I get this error message > > hkl2.c: In function ‘trajectory_gen’: > hkl2.c:219:1: error: arrays of functions are not meaningful > 219 | generator_def(trajectory_gen, Engine, Trajectory, tconfig) https://gcc.gnu.org/PR94689 ? Segher