This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12683] Bad source locator in error message
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Oct 2003 13:12:31 -0000
- Subject: [Bug c++/12683] Bad source locator in error message
- References: <20031020065351.12683.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From bangerth at dealii dot org 2003-10-20 13:12 -------
With gcc 3.3.2, I get this as error messages from your .ii file:
g/x> /home/bangerth/bin/gcc-3.3.2/bin/c++ -c x.ii
../../include/range.hh: In constructor `Range<T>::Range(Range<U>) [with U =
char, T = int]':
testRange.cc:48: instantiated from here
../../include/range.hh:580: error: `char Range<char>::lwb' is private
../../include/range.hh:229: error: within this context
../../include/range.hh:581: error: `char Range<char>::upb' is private
../../include/range.hh:229: error: within this context
../../include/range.hh: In constructor `Range<T>::Range(Range<U>) [with U =
int, T = char]':
testRange.cc:49: instantiated from here
../../include/range.hh:580: error: `int Range<int>::lwb' is private
../../include/range.hh:229: error: within this context
../../include/range.hh:581: error: `int Range<int>::upb' is private
../../include/range.hh:229: error: within this context
Does this make more sense to you? If not, is this also what you get with
3.3.2, or why is my output so different from yours?