2012/3/5 Patrick Ohly <patrick.ohly@xxxxxxxxx>: > I'm fine with using __typeof__ instead of typeof. I verified that g++ > 4.6.2 and clang++ 3.0 grok __typeof__, with and without -std=c++0x. I > also checked that gcc accepts it without -std, with -std=gnu89, and with > -std=c99. It rejects the header file with -std=c89 because of the inline > keyword. The gcc documentation states also this for the typeof C extension: "If you are writing a header file that must work when included in ISO C programs, write __typeof__ instead of typeof." Source: http://gcc.gnu.org/onlinedocs/gcc/Typeof.html -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html