Re: [HELP] FTBFS on alpha for xulrunner
On Tue, Aug 08, 2006 at 10:11:15AM +0200, Bastian Blank <waldi@debian.org> wrote:
> On Tue, Aug 08, 2006 at 07:57:40AM +0200, Mike Hommey wrote:
> > PyGBase.cpp: In member function 'nsresult PyG_Base::InvokeNativeGetViaPolicy(const char*, PyObject**)':
> > PyGBase.cpp:613: error: no matching function for call to 'PyG_Base::InvokeNativeViaPolicyInternal(char [256], PyObject**&, int, int)'
> > PyGBase.cpp:563: note: candidates are: nsresult PyG_Base::InvokeNativeViaPolicyInternal(const char*, PyObject**, const char*, va_list)
> > make[5]: *** [PyGBase.o] Error 1
> >
> > The code at PyGBase.cpp:613 reads:
> > ret = InvokeNativeViaPolicyInternal(buf, ppResult, nsnull, nsnull);
>
> This is not valid. va_list is no pointer, it is an opaque type
>
> > Maybe it's the va_args implementation on alpha that somehow differs ?
>
> Exactly. Alpha implements it as a struct.
Thanks, that confirms my doubts and gave me a hint for a fix. Though,
after looking at the surrounding code, it seems the function which the
error occured in is not used. I asked upstream if it is safe to just
remove it.
Mike
Reply to: