Re: A basic error with cout

From: Cerf (dark_temp_at_hotmail.com)
Date: 04/05/04

  • Next message: Mike Wahler: "Re: A basic error with cout"
    Date: Mon, 05 Apr 2004 01:25:30 GMT
    
    

    I've got it all working now, I think that its a compiler thing but the first
    time I compile I get the following warning
    When I compile a seccond time with no changes, I get no errors, no warnings

    Can someone explain the errors to me?

    [quote]
    --------------------Configuration: tmp - Win32 Debug--------------------
    Compiling...
    tmp.cpp
    X:\Programming\C++\tmp\tmp\tmp.cpp(33) : warning C4786:
    'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::al
    locator<char> > const
    *,std::basic_string<char,std::char_traits<char>,std::allocator<char>
    >,std::basic_string<char,s
    td::char_traits<char>,std::allocator<char> > const
    &,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const
    *,int>' : identifier was truncated to '255' characters in the debug
    information
    X:\Programming\C++\tmp\tmp\tmp.cpp(33) : warning C4786:
    'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::al
    locator<char> >
    *,std::basic_string<char,std::char_traits<char>,std::allocator<char>
    >,std::basic_string<char,std::ch
    ar_traits<char>,std::allocator<char> >
    &,std::basic_string<char,std::char_traits<char>,std::allocator<char> >
    *,int>' : identifier was truncated to '255' characters in the debug
    information
    x:\program files\microsoft visual studio\vc98\include\vector(39) : warning
    C4786:
    'std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<ch
    ar>
    >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocato
    r<char> > >

    >::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
    >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocato
    r<char> > > >' : identifier was truncated to '255' characters in the debug
    information
    x:\program files\microsoft visual studio\vc98\include\vector(60) : warning
    C4786:
    'std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<ch
    ar>
    >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocato
    r<char> > >

    >::~vector<std::basic_string<char,std::char_traits<char>,std::allocator<char
    >
    >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocato
    r<char> > > >' : identifier was truncated to '255' characters in the debug
    information
    Linking...

    tmp.exe - 0 error(s), 4 warning(s)
    [/quote]


  • Next message: Mike Wahler: "Re: A basic error with cout"

    Relevant Pages