error: arrays of functions are not meaningful

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

 



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




[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