Re: [Libreoffice] Failed compilation in basctl module
Caolan McNamara wrote: The whole bodge in layout to redefine things is super-ugly and at at glance I can't see what *exactly* it want's to do, so I didn't bother trying to fix it, as I can see its a going to be a big old pain in my ass to see if we should hack ::Window to be just Window to make the #define do the right thing, or change #define Window to using ::Window, etc. Stay away from that - we should eventually remove that code (FWICT mba was planning to hack on it). Branch feature/layout has a better attempt IMO. Cheers, -- Thorsten pgp1DdzivUk1g.pgp Description: PGP signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Failed compilation in basctl module
Le 17/04/2011 10:33, Julien Nabet a écrit : Hello, Here is the error : Entering /home/maryline/compile-libreoffice/libo/basctl/source/basicide Compiling: basctl/source/basicide/baside2.cxx In file included from /home/maryline/compile-libreoffice/libo/clone/components/basctl/source/basicide/baside2.cxx:60:0: /home/maryline/compile-libreoffice/libo/solver/300/unxlngi6/inc/svx/srchdlg.hxx:116:5: error: expected ';' before '(' token dmake: Error code 1, while making '../../unxlngi6/slo/baside2.obj' Retrying /home/maryline/compile-libreoffice/libo/basctl/source/basicide Compiling: basctl/source/basicide/baside2.cxx In file included from /home/maryline/compile-libreoffice/libo/clone/components/basctl/source/basicide/baside2.cxx:60:0: /home/maryline/compile-libreoffice/libo/solver/300/unxlngi6/inc/svx/srchdlg.hxx:116:5: error: expected ';' before '(' token dmake: Error code 1, while making '../../unxlngi6/slo/baside2.obj' I tried a rm -rf unxlng* in this module and a compilation again, nothing. I took a look at the macro SFX_DECL_CHILDWINDOW in libs-core/sfx2/inc/sfx2/childwin.hxx but I found nothing special Any idea ? Julien. Here where I get for the moment. I put directly the content of the macro SFX_DECL_CHILDWINDOW in solver/300/unxlngi6/inc/svx/srchdlg.hxx. I found that the problem was the first parameter of this function : SfxChildWindow* CreateImpl(::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo* pInfo ); ::Window doesn't seem to be known. Julien. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Failed compilation in basctl module
On Mon, 2011-04-18 at 15:59 +0200, Julien Nabet wrote: Le 17/04/2011 10:33, Julien Nabet a écrit : Hello, Here is the error : Entering /home/maryline/compile-libreoffice/libo/basctl/source/basicide Compiling: basctl/source/basicide/baside2.cxx In file included from /home/maryline/compile-libreoffice/libo/clone/components/basctl/source/basicide/baside2.cxx:60:0: /home/maryline/compile-libreoffice/libo/solver/300/unxlngi6/inc/svx/srchdlg.hxx:116:5: error: expected ';' before '(' token have you configured with anything non-standard, e.g. --enable-layout ? C. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Failed compilation in basctl module
Le 18/04/2011 15:59, Julien Nabet a écrit : Le 17/04/2011 10:33, Julien Nabet a écrit : Hello, Here is the error : Entering /home/maryline/compile-libreoffice/libo/basctl/source/basicide Compiling: basctl/source/basicide/baside2.cxx In file included from /home/maryline/compile-libreoffice/libo/clone/components/basctl/source/basicide/baside2.cxx:60:0: /home/maryline/compile-libreoffice/libo/solver/300/unxlngi6/inc/svx/srchdlg.hxx:116:5: error: expected ';' before '(' token dmake: Error code 1, while making '../../unxlngi6/slo/baside2.obj' Retrying /home/maryline/compile-libreoffice/libo/basctl/source/basicide Compiling: basctl/source/basicide/baside2.cxx In file included from /home/maryline/compile-libreoffice/libo/clone/components/basctl/source/basicide/baside2.cxx:60:0: /home/maryline/compile-libreoffice/libo/solver/300/unxlngi6/inc/svx/srchdlg.hxx:116:5: error: expected ';' before '(' token dmake: Error code 1, while making '../../unxlngi6/slo/baside2.obj' I tried a rm -rf unxlng* in this module and a compilation again, nothing. I took a look at the macro SFX_DECL_CHILDWINDOW in libs-core/sfx2/inc/sfx2/childwin.hxx but I found nothing special Any idea ? Julien. Here where I get for the moment. I put directly the content of the macro SFX_DECL_CHILDWINDOW in solver/300/unxlngi6/inc/svx/srchdlg.hxx. I found that the problem was the first parameter of this function : SfxChildWindow* CreateImpl(::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo* pInfo ); ::Window doesn't seem to be known. Julien. I found that the include srchdlg.hxx was not used in baside2.cxx now I've got the same error in basidesh.cxx : components/basctl/source/basicide/basidesh.cxx:75:0 but this time the includeof srchdlg.hxx is really used here. Julien. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Failed compilation in basctl module
Le 18/04/2011 15:59, Julien Nabet a écrit : Le 17/04/2011 10:33, Julien Nabet a écrit : Hello, Here is the error : Entering /home/maryline/compile-libreoffice/libo/basctl/source/basicide Compiling: basctl/source/basicide/baside2.cxx In file included from /home/maryline/compile-libreoffice/libo/clone/components/basctl/source/basicide/baside2.cxx:60:0: /home/maryline/compile-libreoffice/libo/solver/300/unxlngi6/inc/svx/srchdlg.hxx:116:5: error: expected ';' before '(' token dmake: Error code 1, while making '../../unxlngi6/slo/baside2.obj' Retrying /home/maryline/compile-libreoffice/libo/basctl/source/basicide Compiling: basctl/source/basicide/baside2.cxx In file included from /home/maryline/compile-libreoffice/libo/clone/components/basctl/source/basicide/baside2.cxx:60:0: /home/maryline/compile-libreoffice/libo/solver/300/unxlngi6/inc/svx/srchdlg.hxx:116:5: error: expected ';' before '(' token dmake: Error code 1, while making '../../unxlngi6/slo/baside2.obj' I tried a rm -rf unxlng* in this module and a compilation again, nothing. I took a look at the macro SFX_DECL_CHILDWINDOW in libs-core/sfx2/inc/sfx2/childwin.hxx but I found nothing special Any idea ? Julien. Here where I get for the moment. I put directly the content of the macro SFX_DECL_CHILDWINDOW in solver/300/unxlngi6/inc/svx/srchdlg.hxx. I found that the problem was the first parameter of this function : SfxChildWindow* CreateImpl(::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo* pInfo ); ::Window doesn't seem to be known. Julien. Yes I put enable-layout. When you say non-standard, what do you mean ? It's experimental ? ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Failed compilation in basctl module
On Mon, 2011-04-18 at 17:15 +0200, Julien Nabet wrote: Yes I put enable-layout. When you say non-standard, what do you mean ? ./configure is standard, anything else is sort of non-standard. Which is why no-one had the same error messages as you. I configured with --enable-layout, built to basctl, dug into layout-pre.hxx and see that it defines Window to be ::Window so the ::Window turns into Window hence the error message you get. The whole bodge in layout to redefine things is super-ugly and at at glance I can't see what *exactly* it want's to do, so I didn't bother trying to fix it, as I can see its a going to be a big old pain in my ass to see if we should hack ::Window to be just Window to make the #define do the right thing, or change #define Window to using ::Window, etc. C. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] Failed compilation in basctl module
Hello, Here is the error : Entering /home/maryline/compile-libreoffice/libo/basctl/source/basicide Compiling: basctl/source/basicide/baside2.cxx In file included from /home/maryline/compile-libreoffice/libo/clone/components/basctl/source/basicide/baside2.cxx:60:0: /home/maryline/compile-libreoffice/libo/solver/300/unxlngi6/inc/svx/srchdlg.hxx:116:5: error: expected ';' before '(' token dmake: Error code 1, while making '../../unxlngi6/slo/baside2.obj' Retrying /home/maryline/compile-libreoffice/libo/basctl/source/basicide Compiling: basctl/source/basicide/baside2.cxx In file included from /home/maryline/compile-libreoffice/libo/clone/components/basctl/source/basicide/baside2.cxx:60:0: /home/maryline/compile-libreoffice/libo/solver/300/unxlngi6/inc/svx/srchdlg.hxx:116:5: error: expected ';' before '(' token dmake: Error code 1, while making '../../unxlngi6/slo/baside2.obj' I tried a rm -rf unxlng* in this module and a compilation again, nothing. I took a look at the macro SFX_DECL_CHILDWINDOW in libs-core/sfx2/inc/sfx2/childwin.hxx but I found nothing special Any idea ? Julien. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice