Created attachment 586788 [details, diff] patches for gcc-9 Modern C++ compilers (like gcc-9) don't except 'typeof' any more - it has to be replaced ty __typeof__ Furthermore enums don't except expressions like (-1)<<13 which can be replaced by 0xfffe000 The attached patch fixes these. This patches should be fine with older versions of gcc, as well.
are those just warnings or you are getting an error? I've been running on gcc-9.1 for quite some time and haven't seen it break yet.