Issue 13085 - Suppress ~ 15000 identifier was truncated to '255' characters warnings for MSVC
Summary: Suppress ~ 15000 identifier was truncated to '255' characters warnings for MSVC
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: 644
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: OOo 1.1 Beta2
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-06 11:43 UTC by quetschke
Modified: 2003-06-16 17:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch for sal/inc/sal/config.h (666 bytes, patch)
2003-04-06 11:44 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
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.