use __extension__ attribute to quiet some diagnostic warnings on newest clang and GCC releases