On Sun, 2008-03-02 at 19:21 -0800, Chris Lattner wrote: > clang.cpp:883: warning: ISO C++ forbids casting between pointer-to- > function and pointer-to-object > > This is true, but not very helpful. I'm not sure how to work around > this other than not building with -pedantic. union { void *ptr; void (*func)(void); }; timo