This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13695] Bad error message - no such line
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2004 09:12:19 -0000
- Subject: [Bug c++/13695] Bad error message - no such line
- References: <20040115082401.13695.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-18 09:12 -------
I can't reproduce this with g++ 3.3.1:
bash-2.05b$ /usr/pubsw/bin/g++ /tmp/testRange.ii
/home/ivan/ootbc/common/include/range.hh: In member function `Range<T>
Range<T>::operator[](Range<U>) const [with U = uint8, T = int]':
testRange.cc:159: instantiated from here
/home/ivan/ootbc/common/include/range.hh:261: warning: comparison is always
false due to limited range of data type
/home/ivan/ootbc/common/include/range.hh: In constructor `Range<T>::Range(U, V)
[with U = unsigned int, V = int, T = int]':
/home/ivan/ootbc/common/include/range.hh:291: instantiated from `Range<T>&
Range<T>::DeleteAllButLast(typename Hide::Ints<sizeof (U)>::Unsigned) [with T =
int]'
testRange.cc:186: instantiated from here
/home/ivan/ootbc/common/include/range.hh:165: error: invalid type argument of `
unary *'
/home/ivan/ootbc/common/include/range.hh:165: error: invalid type argument of `
unary *'
Can you check with a normal (not debian prerelease) 3.3.x compiler? Thanks.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13695