[Bug c/71914] Name 'DOMAIN' is blocked when including math.h

2016-07-18 Thread henad221 at student dot liu.se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71914 --- Comment #3 from henad221 at student dot liu.se --- Thanks for quick reply. I didn't expect the name DOMAIN to be used by something when including math.h. Thanks to Jakub for an explanation of what is happening, next time I will try t

[Bug c/71914] New: Name 'DOMAIN' is blocked when including math.h

2016-07-17 Thread henad221 at student dot liu.se
mponent: c Assignee: unassigned at gcc dot gnu.org Reporter: henad221 at student dot liu.se Target Milestone: --- #include #include int DOMAIN = 3; int main() { printf("%d\n", DOMAIN); return 0; } Compiled with: gcc -v domain.cpp Produces: gcc -v domain