Skip to content
Snippets Groups Projects
  • Samanta Navarro's avatar
    f2ab7751
    abuild: avoid calculations with void pointers · f2ab7751
    Samanta Navarro authored and Kevin Daudt's avatar Kevin Daudt committed
    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.
    f2ab7751
    History
    abuild: avoid calculations with void pointers
    Samanta Navarro authored and Kevin Daudt's avatar Kevin Daudt committed
    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.
abuild-gzsplit.c 2.06 KiB