Re: error: arrays of functions are not meaningful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 28, 2022 at 11:18:15AM +0200, PICCA Frederic-Emmanuel wrote:
> 
> ----- Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx> 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.

The patch that fixed this in GCC 10 was a rewrite of a large part of the
analyzer, so it is likely not suitable for backporting.


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux