I’ve been porting a windows library to linux and it’s failing on declaration of struct error_t
. Both gcc and clang are giving an error message:
/usr/include/x86_64-linux-gnu/bits/types/error_t.h:22:13: note:
‘error_t’ 22 | typedef int error_t;
I don’t think the Standard reserves this name. Is there a way to tell the compiler not to expose the name in global namespace?