It would be a pain especially when you make some include with OS constants in it.
Sometimes they are in the PB residents already, sometimes they aren't.
What it isn't there today can be there tomorrow.
Now PB give an error when a constant is declared twice but with different values, and that's good.
When a constant is re-declared with the same value PB doesn't say anything and I think it's the best thing to do.
Even not considering residents, you can have the same constants defined in more includes.
Only if it is the same ... some people could see that as a
feature. As long as the value is the same, it gets just ignored.
And i really can't think about a problem with that ... for me
it makes no difference.
Well, then imo, there would make things easier if there exist something that warn when a constant is declared twice (even with the same value) inside or outside a source file.