Proposal: Reduce void pointer arithmetic in favor of char pointers

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

 



Hi,

I've been writing a program that uses the netfilter/libiptc
headers, and have run into a few macros and inline functions
that use void* for pointer arithmetic rather than char* (or
uint8_t*).

This program belongs to a framework that is built using clang
and clang doesn't support void pointer arithmetic, so expanding
these macros/triggering the inline function expansion causes a
hard compilation failure.

Would patches to convert the void* arithmetic into char* (or
uint8_t*) arithmetic be welcome?

Best,
William Woodruff



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux