Initial MR to gauge interest, there's a bunch more if this one is accepted. Since we still support old gcc, this MR starts fixing issues that prevents compilation. Site note: AFAIK, according to ANSI C redefining typedefs is not allowed either, so this seems a logical change.