Issue 13085

Summary: Suppress ~ 15000 identifier was truncated to '255' characters warnings for MSVC
Product: porting Reporter: quetschke
Component: codeAssignee: Martin Hollmichel <nesshof>
Status: CLOSED FIXED QA Contact: issues@porting <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 644   
Target Milestone: OOo 1.1 Beta2   
Hardware: PC   
OS: Windows 2000   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Patch for sal/inc/sal/config.h none

Description quetschke 2003-04-06 11:43:51 UTC
The logfiles of the windows build are full of warnings of the following
type:

--- One long line ---
e:\w1\cws_srx644_ooo20030412cyg\solver\644\wntmsci7.pro\inc\stl\stl/_bvector.h(182)
: warning C4786:
'_STL::_STL_alloc_proxy<_STL::vector<ary::TypedId<ary::idl::CodeEntity>,_STL::allocator<ary::TypedId<ary::idl::CodeEntity>
| > *
*,_STL::vector<ary::TypedId<ary::idl::CodeEntity>,_STL::allocator<ary::TypedId<ary::idl::CodeEntity>
| >
*,_STL::allocator<_STL::vector<ary::TypedId<ary::idl::CodeEntity>,_STL::allocator<ary::TypedId<ary::idl::CodeEntity>
| > *> >' : identifier was truncated to '255' characters in the debug
information
--- One long line end ---

As probably nobody is going to shorten all the identifiers I'd like to
disable this warning, but keep all other warnings.

Matthias Huetsch pointed me to the following solution.
Comment 1 quetschke 2003-04-06 11:44:47 UTC
Created attachment 5485 [details]
Patch for sal/inc/sal/config.h
Comment 2 Martin Hollmichel 2003-04-11 16:09:40 UTC
fixed on 20030412.
Comment 3 quetschke 2003-05-03 18:33:08 UTC
It emerged again on cws_srx644_ooo11beta2 is now guarded with:

  #if OSL_DEBUG_LEVEL > 0

What's that. Do we need to set this variable with configure?
Comment 4 Martin Hollmichel 2003-05-09 11:39:33 UTC
you can use in the environment the var DBG_LEVEL which controls this.
see solenv/inc/settings.mk for details.

please open new issue assigned to Ken, if we want to control this with
configure, I would use 1.1 RC target then.
Comment 5 Martin Hollmichel 2003-06-16 17:10:37 UTC
closed.