Re: Error message for 'ambiguous overload for operator>>' in gcc 4.1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the various comments; my conclusions:
- The problem was caused by erroneous use of 'const'. Now resolved.
- The same error msg does occur in gcc 3.3.5, but in my case had been masked
by a (long) cast
   e.g. the line
   str >> (long) pal.used;
   does not get flagged as an error.
- It would have been easier to solve if the error message had flagged the
incorrect use of 'const'.
I must gen up on 'const' a bit...

AM


___________________________________________________________

Tiscali Broadband from 14.99 with free setup!
http://www.tiscali.co.uk/products/broadband/




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux