[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::c_plus_plus

Title:C++
Notice:Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS)
Moderator:DECCXX::AMARTIN
Created:Fri Nov 06 1987
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3604
Total number of notes:18242

3499.0. "Another OVERLDAMBIG" by CSC32::J_HENSON (Don't get even, get ahead!) Tue Mar 18 1997 11:19

C++ V5.4-010 for OpenVMS Alpha

When I compile the following code, I get CXX-E-OVERLDAMBIG and
CXX-I-OVERMATCHTRY messages.  Can anyone tell me if this has been
fixed for V5.5?

Thanks,

Jerry

========================================================================


#include <ints.h>
#include <iostream.h>
main()
{
uint32 i;
cout << i << endl;
}
T.RTitleUserPersonal
Name
DateLines
3499.1some of the special int types are not overloaded in iostream libraryDECC::J_WARDTue Mar 18 1997 11:397
See note 3450 for further details.

This is not a compiler bug, the ambiguity arises because
operator<< was never overloaded in the iostream library
for the special int types (except _int64). Note 3450.1 
suggests a workaround.
3499.2ThanksCSC32::J_HENSONDon&#039;t get even, get ahead!Wed Mar 19 1997 09:330