Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Add help button to dialog? Pin
PJ Arends25-Dec-03 9:26
professionalPJ Arends25-Dec-03 9:26 
GeneralCalling functions in a C# dll from C++ code Pin
Member 78143724-Dec-03 17:02
Member 78143724-Dec-03 17:02 
GeneralRe: Calling functions in a C# dll from C++ code Pin
wb24-Dec-03 18:33
wb24-Dec-03 18:33 
GeneralStop keyevents and mesages Pin
Jarek G24-Dec-03 16:45
Jarek G24-Dec-03 16:45 
GeneralRe: Stop keyevents and mesages Pin
Monty224-Dec-03 20:08
Monty224-Dec-03 20:08 
GeneralRe: Stop keyevents and mesages Pin
Robert Kuster24-Dec-03 21:53
Robert Kuster24-Dec-03 21:53 
GeneralRe: Stop keyevents and mesages Pin
Anonymous25-Dec-03 11:25
Anonymous25-Dec-03 11:25 
GeneralUnknown warnings Pin
Burl D24-Dec-03 15:11
Burl D24-Dec-03 15:11 
Can anybody tell me why when I compile the following program using VCC 6.0

#include <vector>
#include <string>


using namespace std;


int main(int argc, char* argv[]){
vector<string> v;
return 0;
}


I get these warnings?

Compiling...
stlTest1.cpp
c:\program files\visual studio\my projects\stltest1\stltest1.cpp(11) : warning C4786: 'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const *,std::basic_string<char,std::char_traits<char>,std::allocator<ch
ar> >,std::basic_string<char,std::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

c:\program files\visual studio\my projects\stltest1\stltest1.cpp(11) : warning C4786: 'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > *,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,
std::basic_string<char,std::char_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

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

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

stlTest1.obj - 0 error(s), 4 warning(s)


It compiles fine if I use vector<int>
instead of vector<string>

Thanks in advance.
GeneralRe: Unknown warnings Pin
PJ Arends24-Dec-03 17:02
professionalPJ Arends24-Dec-03 17:02 
GeneralRe: Unknown warnings Pin
Burl D25-Dec-03 5:06
Burl D25-Dec-03 5:06 
QuestionTrouble with Open File dialog? Pin
gamerPotatoe24-Dec-03 10:25
gamerPotatoe24-Dec-03 10:25 
AnswerRe: Trouble with Open File dialog? Pin
kjessee24-Dec-03 10:42
kjessee24-Dec-03 10:42 
GeneralRe: Trouble with Open File dialog? Pin
gamerPotatoe24-Dec-03 10:58
gamerPotatoe24-Dec-03 10:58 
GeneralRe: Trouble with Open File dialog? Pin
kjessee24-Dec-03 11:12
kjessee24-Dec-03 11:12 
GeneralTHanks! Need a little help with CString Pin
gamerPotatoe24-Dec-03 19:24
gamerPotatoe24-Dec-03 19:24 
GeneralRe: THanks! Need a little help with CString Pin
Monty224-Dec-03 21:54
Monty224-Dec-03 21:54 
AnswerRe: Trouble with Open File dialog? Pin
Michael Dunn24-Dec-03 12:19
sitebuilderMichael Dunn24-Dec-03 12:19 
Questioncan AddNew() function update original database Pin
Member 78215424-Dec-03 8:46
Member 78215424-Dec-03 8:46 
AnswerRe: can AddNew() function update original database Pin
Monty224-Dec-03 20:11
Monty224-Dec-03 20:11 
GeneralRe: can AddNew() function update original database Pin
Member 78215426-Dec-03 3:49
Member 78215426-Dec-03 3:49 
GeneralAbout http post Pin
rr1224-Dec-03 7:32
rr1224-Dec-03 7:32 
Generalupdate ACCESS database problem Pin
Member 78215424-Dec-03 7:29
Member 78215424-Dec-03 7:29 
GeneralRe: update ACCESS database problem Pin
Monty224-Dec-03 21:11
Monty224-Dec-03 21:11 
GeneralMAPI Help... Pin
LizardWiz24-Dec-03 6:10
LizardWiz24-Dec-03 6:10 
GeneralRe: MAPI Help... Pin
PJ Arends25-Dec-03 9:37
professionalPJ Arends25-Dec-03 9:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.