public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* error: arrays of functions are not meaningful
@ 2022-03-25 14:35 PICCA Frederic-Emmanuel
  2022-03-25 15:15 ` Segher Boessenkool
  0 siblings, 1 reply; 5+ messages in thread
From: PICCA Frederic-Emmanuel @ 2022-03-25 14:35 UTC (permalink / raw)
  To: gcc-help

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)

where generator_def comes from here

https://github.com/rustyrussell/ccan/blob/master/ccan/generator/generator.h

I try to find some information on internet but it is not clean to me what is the problem.

It compiles ok without the analyzer flag.

Thanks for considering

Frederic

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-28 13:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25 14:35 error: arrays of functions are not meaningful PICCA Frederic-Emmanuel
2022-03-25 15:15 ` Segher Boessenkool
2022-03-28  9:18   ` PICCA Frederic-Emmanuel
2022-03-28 13:10     ` Segher Boessenkool
2022-03-28 13:15       ` PICCA Frederic-Emmanuel

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).