Re: CPP and column numbers

2009-02-19 Thread Tom Tromey
> "Aldy" == Aldy Hernandez writes: Aldy> enum e { Aldy> E5 = INTMAX + 1, Aldy> ^ column 15. Aldy> }; I updated from your branch and tried this. My error message had column 3... but I assume that is due to something missing or due to over-eager folding (and thus probably fixe

CPP and column numbers

2009-02-19 Thread Aldy Hernandez
Hi Tom. Hi folks. Imagine: enum e { E5 = INTMAX + 1, ^ column 15. }; This addition will trigger an overflow warning in the C FE. However, the location of the '+' will not be column 15 as expected, but the pre-processed column number (19): E5 = 2147483647 + 1,