Quoth Bakul Shah <ba...@iitbombay.org>:
> void*f(void*x){return x+1;}

        $ echo 'void*f(void*x){return x+1;}' > test.c
        $ cc -pedantic -std=c99 test.c
        test.c:4:24: warning: arithmetic on a pointer to void is a GNU 
extension [-Wpointer-arith]
                void*f(void*x){return x+1;}
                                      ~^


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tecaea3b9ec8e7066-Mfcc883e249a0aefbd19623f0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to