Hello,
I'm currently working on a program in Visual C++, but there is a warning that is driving me crazy. The warning does not come from my own files, but from the standard include files (xtree) :
-
Compiler Warning (level 1) C4786
'identifier' : identifier was truncated to 'number' characters in the debug information
The identifier string exceeded the maximum allowable length and was truncated.
The debugger cannot debug code with symbols longer than 255 characters. In the debugger, you cannot view, evaluate, update, or watch the truncated symbols.
-
The problem is that I'm currently having 85 of these warnings, which makes it hard to look for other warnings or errors.
I know the #pragma warning(disable:4786) option, but I can only use that in my own files (if no other option, I'll put it in the xtree file, but I'd prefer to keep these files "unmanipulated").
Is there a way of telling the compiler that (for this project) it should *never* give out this warning ?
Jörg
I'm currently working on a program in Visual C++, but there is a warning that is driving me crazy. The warning does not come from my own files, but from the standard include files (xtree) :
-
Compiler Warning (level 1) C4786
'identifier' : identifier was truncated to 'number' characters in the debug information
The identifier string exceeded the maximum allowable length and was truncated.
The debugger cannot debug code with symbols longer than 255 characters. In the debugger, you cannot view, evaluate, update, or watch the truncated symbols.
-
The problem is that I'm currently having 85 of these warnings, which makes it hard to look for other warnings or errors.
I know the #pragma warning(disable:4786) option, but I can only use that in my own files (if no other option, I'll put it in the xtree file, but I'd prefer to keep these files "unmanipulated").
Is there a way of telling the compiler that (for this project) it should *never* give out this warning ?
Jörg
Comment