Re: type-punning warnings with optimizations turned on?



jcupitt gmail com wrote:

(now someone will tell me the compiler is correct and casting "int
*x[]" to "void **" is indeed wrong :-)

This is question 4.9 in the C FAQ:

   http://c-faq.com/ptrs/genericpp.html

- Ernie                                  http://home.comcast.net/~erniew



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