error printing in reversed order ?

2016-10-07 Thread nicolas bouillot
Hi, Was wondering this could be a feature request ? Basically, this could be a GCC option to print compilation errors in a reversed order, i.e. the first being printed last. This is because when compiling from the terminal, it would avoid mouse scrolling all day in order to get the first error. I

Re: error printing in reversed order ?

2016-10-07 Thread nicolas bouillot
='make 2>&1 >/dev/null | tac | egrep --color "\b(error|cpp|hpp)\b|$ "' Nicolas On Fri, Oct 7, 2016 at 3:23 PM, David Malcolm wrote: > On Fri, 2016-10-07 at 15:08 -0400, nicolas bouillot wrote: >> Hi, >> >> Was wondering this could be a feature re

Re: error printing in reversed order ?

2016-10-07 Thread nicolas bouillot
oops this works better: alias reversed_make='make 2>&1 >/dev/null | tac | egrep --color "\b(error|cpp|hpp)\b|$"' On Fri, Oct 7, 2016 at 4:39 PM, nicolas bouillot wrote: > Thank you Joe and Dave. > > I tried -fmax-errors but my test error (c++ iterato