[Bug c++/12683] New: Bad source locator in error message
igodard at pacbell dot net
gcc-bugzilla@gcc.gnu.org
Mon Oct 20 06:54:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12683
Summary: Bad source locator in error message
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
CC: gcc-bugs at gcc dot gnu dot org
Actual error is at range.hh:224, which is not mentioned anywhere in the (extended) message. Replace "comp" by "5" (for example) in that line and it compiles clean. The only line# reported in that file (range.hh:483) is a call on a function that calls the constructor containing the actual error, but neither the function nor the constructor are listed in the "instantiated from" chain nor reported as the error location directly.
More information about the Gcc-bugs
mailing list