On Tue, Jul 15, 2008 at 12:17 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote: > Actually variable declarations are allowed at the beginning of every block, > which is respected in this case. It seems that the gcc-specific __typeof() > feature doesn't work in C, though. Which pretty much defeats the purpose of > using it, since for C++ I could have used an inline template function instead. Not with C89, try for yourself :) It fails even without using that macro, just try to declare a variable someplace after having written a non-decl line of code. Regards, Rene