Skip to content

Conversation

@michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Sep 30, 2018

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Fix struct hack / flexible array member

Additional description (if needed):
The struct hack code is "new" in eggdrop and it fails on systems like Haiku alpha1/gcc 2.93.3:
Fix coredns.c:154: field data has incomplete type
This general fix uses Macro AC_C_FLEXIBLE_ARRAY_MEMBER, see:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/C-Compiler.html
This fix also helps eggdrop to be C89 compatible.
#548 now also requires this patch, due to it also does struct hack.
please run misc/runautotools after merge

Test cases demonstrating functionality (if applicable):
a quick compile and run was fine

@Cizzle
Copy link
Member

Cizzle commented Oct 8, 2018

LGTM

@Cizzle Cizzle added this to the v1.8.4 milestone Oct 8, 2018
@vanosg vanosg merged commit 0b50cc2 into eggheads:develop Oct 12, 2018
@michaelortmann michaelortmann deleted the struct.hack branch October 12, 2018 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants