https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71914
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- First of all, note that math.h header comes from the C library, not GCC, so likely glibc in your case. And, please learn about Feature Test Macros that affect the namespace. DOMAIN is part of SVID support, is included in e.g. _DEFAULT_SOURCE or _GNU_SOURCE. So e.g. if you compile with -D_XOPEN_SOURCE=700 or various others, DOMAIN will not be visible.