public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
To: Segher Boessenkool <segher@kernel.crashing.org>
Cc: gcc-help@gcc.gnu.org
Subject: Re: error: arrays of functions are not meaningful
Date: Mon, 28 Mar 2022 11:18:15 +0200 (CEST)	[thread overview]
Message-ID: <1260494190.3610782.1648459095479.JavaMail.zimbra@synchrotron-soleil.fr> (raw)
In-Reply-To: <20220325151513.GC614@gate.crashing.org>


----- Segher Boessenkool <segher@kernel.crashing.org> a écrit :
> 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 ?
> 

Hello, I checked and found that it works with gcc-11.

so it must be a bug in the gcc-10 implementation.

Cheers

Frederic

  reply	other threads:[~2022-03-28  9:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25 14:35 PICCA Frederic-Emmanuel
2022-03-25 15:15 ` Segher Boessenkool
2022-03-28  9:18   ` PICCA Frederic-Emmanuel [this message]
2022-03-28 13:10     ` Segher Boessenkool
2022-03-28 13:15       ` PICCA Frederic-Emmanuel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1260494190.3610782.1648459095479.JavaMail.zimbra@synchrotron-soleil.fr \
    --to=frederic-emmanuel.picca@synchrotron-soleil.fr \
    --cc=gcc-help@gcc.gnu.org \
    --cc=segher@kernel.crashing.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).