Re: Proposal: Reduce void pointer arithmetic in favor of char pointers

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

 



On Saturday 2018-12-15 23:02, William Woodruff wrote:

>This program belongs to a framework that is built using clang
>and clang doesn't support void pointer arithmetic

Though illegal in standard C, clang does support the extension:

11:59 a4:~ > echo -en 'int main() { void *x = &x; x = x + 1; }' | clang 
-x c -c -o /dev/null - -Wall
11:59 a4:~ > 
(clang 6.0.1)




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

  Powered by Linux