To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=67408
User sb changed the following: What |Old value |New value ================================================================================ Assigned to|sb |pjanik -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Wed Jul 19 06:33:40 -0700 2006 ------- As no better ideas turned up until now, truncwarn appears to be of limitied use as it only seems to warn when truncating from 64bit to <64bit (and not, e.g., when truncating from 32bit to 16bit; at least with CC 5.5), and most other truncations (at least in not Unix-only code) will be caught by the Microsoft Windows compiler, I would say we should disable truncwarn globally in solenv/inc/unxsols4.mk:1.25 and solenv/inc/unxsoli4.mk:1.17, see patch below. Pavel, can you do that on pj55? Thanks. Index: unxsols4.mk =================================================================== RCS file: /cvs/tools/solenv/inc/unxsols4.mk,v retrieving revision 1.25 diff -u -r1.25 unxsols4.mk --- unxsols4.mk 5 Jul 2006 22:05:50 -0000 1.25 +++ unxsols4.mk 19 Jul 2006 13:31:42 -0000 @@ -97,8 +97,13 @@ # - reftotemp: warns about calling non-const functions on temporary objects, # something legally done by boost::scoped_array<T>::reset, for example # (this_type(p).swap(*this)) +# - truncwarn: "conversion of 64 bit type value to smaller type causes +# truncation" at least with CC 5.8 is reported only at the end of a +# compilation unit that uses std::hash_map<sal_Int64, sal_Int64> (see +# sfx2/source/toolbox/imgmgr.cxx:1.27) and thus unfortunately needs to be +# disabled globally CFLAGSWARNCC= -CFLAGSWARNCXX=+w2 -erroff=doubunder,inllargeuse,notemsource,reftotemp +CFLAGSWARNCXX=+w2 -erroff=doubunder,inllargeuse,notemsource,reftotemp,truncwarn CFLAGSWALLCC=$(CFLAGSWARNCC) CFLAGSWALLCXX=$(CFLAGSWARNCXX) CFLAGSWERRCC=-errwarn=%all --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]