This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

feature request: please display parse error context


Guess how I feel if I get a parse error  like this one

Discretizer.h:88: parse error before `>' token

on a line like this one (the shortest example for convenience)

typedef typename BasicGalerkinDiscretizer<A::template
SpaceAndTimeDiffInfo<Time>::ExtractValue, typename A::template
SpaceAndTimeDiffInfo<Time>::ExtractReturnType>
::DistinctHandlingOf<Time> ::TestAgainst<TYPE_OF_TEST_FUNCTION>::Type
D1;


The expression template guys would kiss Your feet if they can obtain
a gcc error message with a "^" below the '>' token that leads to the
error.



Markus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]