Skip to content

abuild: avoid calculations with void pointers

Samanta Navarro requested to merge ferivoz/abuild:pedantic into master

Arithmetic operations with void pointers are an extension by some compilers and not part of the C standard, which does not specify the size of void.

CFLAGS with -pedantic reveals this during compile time. I have adjusted the usage of ?: so CFLAGS can contain -pedantic now.

Edited by Samanta Navarro

Merge request reports