Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Flexible array error #306

Closed
armintoepfer opened this issue Jan 9, 2019 · 1 comment
Closed

Flexible array error #306

armintoepfer opened this issue Jan 9, 2019 · 1 comment

Comments

@armintoepfer
Copy link
Contributor

Hey Heng,

any chance to comply with gcc for C++ folks?

minimap.h:78:17: error: ISO C++ forbids flexible array member ‘cigar’ [-Werror=pedantic]
  uint32_t cigar[];
                 ^

Thank you,
Armin

@lh3
Copy link
Owner

lh3 commented Jan 10, 2019

"Pedantic" requirements are harder to meet. It is possible to get a workaround, but that would require a bit code changes elsewhere and the code will look more confusing.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants