To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=67873
Issue #|67873
Summary|x86-64: Build breaks in slideshow/source/engine/activi
|ties/continuouskeytimeactivitybase.cxx
Component|Drawing
Version|680m179
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P3
Subcomponent|code
Assigned to|ka
Reported by|kendy
------- Additional comments from [EMAIL PROTECTED] Fri Jul 28 04:36:32 -0700
2006 -------
The fix:
--- slideshow/source/engine/activities/continuouskeytimeactivitybase.cxx
26 Jul 2006 07:28:09 -0000 1.4
+++ slideshow/source/engine/activities/continuouskeytimeactivitybase.cxx
28 Jul 2006 11:33:15 -0000
@@ -98,11 +98,12 @@ namespace presentation
mnLastIndex = ::std::min< ::std::ptrdiff_t >(
maKeyTimes.size()-2,
// range is ensured by max below
- ::std::max( 0,
- ::std::distance( maKeyTimes.begin(),
- ::std::lower_bound(
maKeyTimes.begin(),
-
maKeyTimes.end(),
- nT ) ) -
1 ) );
+ ::std::max< ::std::ptrdiff_t >(
+ 0,
+ ::std::distance( maKeyTimes.begin(),
+ ::std::lower_bound(
maKeyTimes.begin(),
+ maKeyTimes.end(),
+ nT ) ) - 1 ) );
}
OSL_ENSURE( mnLastIndex+1 < maKeyTimes.size(),
The error:
/opt/icecream/bin/g++ -Wreturn-type -fmessage-length=0 -c -O2
-fno-strict-aliasing -Wuninitialized -I.
-I../../../unxlngx6.pro/inc/activities -I../inc -I../../inc -I../../../inc/pch
-I../../../inc -I../../../unx/inc -I../../../unxlngx6.pro/inc -I.
-I/local/ooo-build/ooo-build/build/src680-m179/solver/680/unxlngx6.pro/inc/stl
-I/local/ooo-build/ooo-build/build/src680-m179/solver/680/unxlngx6.pro/inc/external
-I/local/ooo-build/ooo-build/build/src680-m179/solver/680/unxlngx6.pro/inc
-I/local/ooo-build/ooo-build/build/src680-m179/solenv/unxlngx6/inc
-I/local/ooo-build/ooo-build/build/src680-m179/solenv/inc
-I/local/ooo-build/ooo-build/build/src680-m179/res
-I/local/ooo-build/ooo-build/build/src680-m179/solver/680/unxlngx6.pro/inc/stl
-I/local/ooo-build/ooo-build/build/src680-m179/solenv/inc/Xp31 -I/usr/include
-I/usr/X11R6/include
-I/local/ooo-build/ooo-build/build/src680-m179/solver/680/unxlngx6.pro/inc/offuh
-I. -I../../../res -I. -pipe -Wno-ctor-dtor-privacy -fno-use-cxa-atexit
-fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs -fpic
-DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64
-D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
-DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/include/c++/4.1.0 -DSUPD=680 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI
-DSOLAR_JAVA -DSRC680=SRC680 -DSHAREDLIB -D_DLL_ -DMULTITHREAD
-o ../../../unxlngx6.pro/slo/continuouskeytimeactivitybase.o
/local/ooo-build/ooo-build/build/src680-m179/slideshow/source/engine/activities/continuouskeytimeactivitybase.cxx
/local/ooo-build/ooo-build/build/src680-m179/slideshow/source/engine/activities/continuouskeytimeactivitybase.cxx:
In member function 'virtual void
presentation::internal::ContinuousKeyTimeActivityBase::simplePerform(double,
sal_uInt32) const':
/local/ooo-build/ooo-build/build/src680-m179/slideshow/source/engine/activities/continuouskeytimeactivitybase.cxx:105:
error: no matching function for call to 'max(int, long int)'
---------------------------------------------------------------------
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]