To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78794
                 Issue #|78794
                 Summary|MacOSX : Panther gcc-3.3 build fails while compiling c
                        |hart2/source/model/template/ChartType.cxx
               Component|porting
                 Version|680m215
                Platform|All
                     URL|
              OS/Version|Mac OS X
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|MacOSX
             Assigned to|macport
             Reported by|maho





------- Additional comments from [EMAIL PROTECTED] Fri Jun 22 02:57:37 +0000 
2007 -------
same as
http://www.openoffice.org/issues/show_bug.cgi?id=78783
for chart2/source/model/template/ChartType.cxx
ccache g++-3.3  -fsigned-char -fmessage-length=0 -malign-natural -c -O2
-fno-strict-aliasing   -ftemplate-depth-128 -I.  -I../../../un
xmacxp.pro/inc/chmodeltemplate -I../inc -I../../../source/inc -I../../../inc/pch
-I../../../inc/chart2 -I../../../inc -I../../../unx/i
nc -I../../../unxmacxp.pro/inc -I.
-I/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/solver/680/unxmacxp.pro/inc/stl

-I/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/solver/680/unxmacxp.pro/inc/external
-I/Volumes/OpenOffice.org/Pant
her/2.0/work.SRC680_m215/SRC680_m215/solver/680/unxmacxp.pro/inc
-I/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/so
lenv/unxmacxp/inc
-I/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/solenv/inc
-I/Volumes/OpenOffice.org/Panther/2.0/
work.SRC680_m215/SRC680_m215/res
-I/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/solver/680/unxmacxp.pro/inc/stl
-I
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers
-I/System/Library/Frameworks/JavaVM.framework/Headers -I/usr/X11R
6/include -I/usr/X11R6/include/freetype2    
-I/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/solver/680/unxmacxp.pr
o/inc/offuh -I. -I../../../res -I. -pipe -malign-natural -fsigned-char
-Wno-long-double  -Wno-ctor-dtor-privacy -Wall -Wendif-labels -
Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fPIC -fno-common
-DMACOSX -DUNX -DVCL -DGCC -DC300 -DPOWERPC -DCVER=C300 -
DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY -DPOWERPC -DPPC
-DSTLPORT_VERSION=400 -D_USE_NAMESPACE=1 -DX_LOCALE -DNO_AUDIO
 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/include/gcc/darwin/3.3/c++ -DSUPD=680 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOS
L_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DSRC680=SRC680 
-DBUILD_OS_APPLEOSX -DBUILD_OS_MAJOR=10 -DBUILD_OS_MINOR=3 -DBUILD_OS_R
EV=9 -DSHAREDLIB -D_DLL_   -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON 
-o ../../../unxmacxp.pro/slo/ChartType.o /Volumes/OpenO
ffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/chart2/source/model/template/ChartType.cxx

/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/chart2/source/model/template/ChartType.cxx:
In member function `virtu
al cppu::IPropertyArrayHelper& chart::ChartType::getInfoHelper()':
/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/chart2/source/model/template/ChartType.cxx:249:
error: parse error be
fore `)' token
/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/chart2/source/model/template/ChartType.cxx:249:
error: cannot declare
 static function inside another function
/Volumes/OpenOffice.org/Panther/2.0/work.SRC680_m215/SRC680_m215/chart2/source/model/template/ChartType.cxx:251:
error: could not conv
ert `chart::aArrayHelper(...)' to `cppu::IPropertyArrayHelper&'
dmake:  Error code 1, while making '../../../unxmacxp.pro/slo/ChartType.obj'


here is a patch:
Index: source/model/template/ChartType.cxx
===================================================================
RCS file: /cvs/graphics/chart2/source/model/template/ChartType.cxx,v
retrieving revision 1.5
diff -u -r1.5 ChartType.cxx
--- source/model/template/ChartType.cxx 22 May 2007 18:45:53 -0000      1.5
+++ source/model/template/ChartType.cxx 22 Jun 2007 02:57:24 -0000
@@ -245,7 +245,7 @@
 // ____ OPropertySet ____
 ::cppu::IPropertyArrayHelper & SAL_CALL ChartType::getInfoHelper()
 {
-    static ::cppu::OPropertyArrayHelper aArrayHelper(
+    static ::cppu::OPropertyArrayHelper aArrayHelper =
::cppu::OPropertyArrayHelper (
         Sequence< beans::Property >(), /* bSorted */ sal_True );
 
     return aArrayHelper;

---------------------------------------------------------------------
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]

Reply via email to