[Bug c++/13695] Bad error message - no such line

dhazeghi at yahoo dot com gcc-bugzilla@gcc.gnu.org
Sun Jan 18 09:12:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list