To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70340
                 Issue #|70340
                 Summary|Compile fails with gcc 3.3 on desktop/source/deploymen
                        |t/manager/dp_manager.cxx in 680m187 
               Component|framework
                 Version|current
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mba
             Reported by|gcc111





------- Additional comments from [EMAIL PROTECTED] Thu Oct 12 01:51:55 -0700 
2006 -------
Maybe related to issue 41456 (although that was a year ago)

Making: ../../../unxlngi4.pro/slo/dp_manager.obj
g++ -fmessage-length=0 -c -O1   -I. 
-I../../../unxlngi4.pro/inc/deployment_manager -I../inc -I../../../inc/pch
-I../../../inc -I../../../unx/inc -I../../../unxlngi4.pro/inc -I.
-I/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/stl
-I/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/external
-I/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc
-I/home/chris/project/openoffice/solenv/unxlngi4/inc
-I/home/chris/project/openoffice/solenv/inc -I/home/chris/project/openoffice/res
-I/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/stl
-I/home/chris/project/openoffice/solenv/inc/Xp31
-I/usr/java/j2sdk1.4.2_08/include -I/usr/java/j2sdk1.4.2_08/include/linux
-I/usr/java/j2sdk1.4.2_08/include/native_threads/include -I/usr/X11R6/include  
  -I/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/offuh -I.
-I../../../res -I. -pipe -mcpu=pentiumpro -include preinclude.h -fexceptions
-fno-enforce-eh-specs -Wuninitialized -Wno-ctor-dtor-privacy   -fpic -DLINUX
-DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS
-D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE
-DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/3.3.3 -DSUPD=680
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON
-DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o
../../../unxlngi4.pro/slo/dp_manager.o
/home/chris/project/openoffice/desktop/source/deployment/manager/dp_manager.cxx
/home/chris/project/openoffice/desktop/source/deployment/manager/dp_manager.cxx:
In member function `bool dp_manager::PackageManagerImpl::checkUpdate(const
rtl::OUString&, const
com::sun::star::uno::Reference<com::sun::star::deployment::XPackage>&, bool*,
const com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment>&,
const 
com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment>&)':
/home/chris/project/openoffice/desktop/source/deployment/manager/dp_manager.cxx:580:
error: syntax error before `+' token
/home/chris/project/openoffice/desktop/source/deployment/manager/dp_manager.cxx:582:
error: no matching function for call to `com::sun::star::uno::Any::Any(const
rtl::OUString&, const
com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment>&)'
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/com/sun/star/uno/Any.h:268:
error: candidates are: com::sun::star::uno::Any::Any(short unsigned int)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/com/sun/star/uno/Any.hxx:110:
error:                 com::sun::star::uno::Any::Any(const void*,
typelib_TypeDescriptionReference*)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/com/sun/star/uno/Any.hxx:104:
error:                 com::sun::star::uno::Any::Any(const void*,
typelib_TypeDescription*)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/com/sun/star/uno/Any.hxx:97:
error:                 com::sun::star::uno::Any::Any(const void*, const
com::sun::star::uno::Type&)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/com/sun/star/uno/Any.hxx:92:
error:                 com::sun::star::uno::Any::Any(const
com::sun::star::uno::Any&)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/com/sun/star/uno/Any.hxx:83:
error:                 com::sun::star::uno::Any::Any(bool)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/com/sun/star/uno/Any.hxx:68:
error:                 com::sun::star::uno::Any::Any()
/home/chris/project/openoffice/desktop/source/deployment/manager/dp_manager.cxx:582:
error: syntax error before `)' token
/home/chris/project/openoffice/desktop/source/deployment/manager/dp_manager.cxx:586:
error: invalid initialization of reference of type 'const
com::sun::star::uno::Any&' from expression of type 'com::sun::star::uno::Any
(*)(...)'
../inc/dp_interact.h:119: error: in passing argument 1 of `bool
dp_misc::interactContinuation(const com::sun::star::uno::Any&, const
com::sun::star::uno::Type&, const
com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment>&,
bool*, bool*)'
/home/chris/project/openoffice/desktop/source/deployment/manager/dp_manager.cxx:590:
error: no matching function for call to
`com::sun::star::deployment::DeploymentException::DeploymentException(rtl::OUString,
cppu::OWeakObject*, com::sun::star::uno::Any (&)(...))'
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/offuh/com/sun/star/deployment/DeploymentException.hpp:40:
error: candidates are:
com::sun::star::deployment::DeploymentException::DeploymentException(const
com::sun::star::deployment::DeploymentException&)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/offuh/com/sun/star/deployment/DeploymentException.hpp:36:
error:                
com::sun::star::deployment::DeploymentException::DeploymentException(const
rtl::OUString&, const
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&, const
com::sun::star::uno::Any&)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/offuh/com/sun/star/deployment/DeploymentException.hpp:31:
error:                
com::sun::star::deployment::DeploymentException::DeploymentException()
/home/chris/project/openoffice/desktop/source/deployment/manager/dp_manager.cxx:595:
error: no matching function for call to
`com::sun::star::ucb::CommandFailedException::CommandFailedException(rtl::OUString,
cppu::OWeakObject*, com::sun::star::uno::Any (&)(...))'
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/offuh/com/sun/star/ucb/CommandFailedException.hpp:40:
error: candidates are:
com::sun::star::ucb::CommandFailedException::CommandFailedException(const
com::sun::star::ucb::CommandFailedException&)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/offuh/com/sun/star/ucb/CommandFailedException.hpp:36:
error:                
com::sun::star::ucb::CommandFailedException::CommandFailedException(const
rtl::OUString&, const
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&, const
com::sun::star::uno::Any&)
/home/chris/project/openoffice/solver/680/unxlngi4.pro/inc/offuh/com/sun/star/ucb/CommandFailedException.hpp:31:
error:                
com::sun::star::ucb::CommandFailedException::CommandFailedException()
dmake:  Error code 1, while making '../../../unxlngi4.pro/slo/dp_manager.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/home/chris/project/openoffice/desktop/source/deployment/manager
dmake:  Error code 1, while making 'build_instsetoo_native'
'---*  *---'

>From IRC #openoffice.org:

<gcj> anyone know why I get this error when compiling SRC680_m187:
desktop/source/deployment/manager/dp_manager.cxx:580: error: syntax error before
`+' token (and many others in that file)
<paveljanik> gcj: please paste the full log somewhere. Probably missing some
file or something.
<paveljanik> or wrong patch...
<gcj> http://p.caboo.se/17262
<paveljanik> gcj: which version are you building?
<gcj> SRC680_m187
<gcj> checked out yesterday
<paveljanik> looks like it is another instance of gcc-3.3.x parser bug ;-)
<gcj> ok i'll try gcc34
<gcj> how do i do that again? CC=gcc34 CXX=g++34 ./configure?
<Fridrich> gcj: wait a while
<paveljanik> gcj: first of all, please file an issue for this ;-)
<gcj> ok will do
<Fridrich> gcj: since you are building with 3.3, let it go to the end. I am
looking towards how can one patch it
<gcj> assign to? paveljanik?
<paveljanik> gcj: no ;-)
<gcj> mba?
<paveljanik> Fridrich: will you accept it? ;-)
* paveljanik doesn't have gcc-3.3 anymore
<gcj> anything i should attach? config.log?
<Fridrich> paveljanik: no
<paveljanik> gcj: just upgrade to gcc-3.4.1+.
<Fridrich> paveljanik: but will try to come with a patch
<Fridrich> paveljanik: but not time to go through the CWS -> QA -> new ->QA ->
... -> new -> QA ->nominated -> integrated cycle

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