Re: Galeon-CVS and gcc-3.2.2 compile failure

Philip Langdale <[email protected]>
Newsgroups gmane.comp.web.galeon.devel
Message-ID <[email protected]>
The key piece of information is what mozilla version you are compiling
against. The |nsIObjectInputStream::ReadCString| method is only present
in 1.3a and greater versions of mozilla which you would indicate
with --with-mozilla-snapshot=trunk. If you are using mozilla 1.2.x, you
should not do this.

--phil

Roger W. Brown wrote:
>   Recent CVS editions on Galeon, as as well as galeon-1.3.1, fail to
>   compile on my system: (gcc-3.2.2, libc-2.3.1, linux-2.4.19-pre10).
>   The error message from directory galeon/mozilla  reads:
> 
> gGnomeHelpUrl.cpp: In member function `virtual nsresult 
>    gGnomeHelpUrl::Internal::QueryInterface(const nsIID&, void**)':
> gGnomeHelpUrl.cpp:76: warning: invalid offsetof from non-POD type `class 
>    gGnomeHelpUrl'; use pointer to member instead
> gGnomeHelpUrl.cpp: In member function `virtual nsrefcnt 
>    gGnomeHelpUrl::Internal::AddRef()':
> gGnomeHelpUrl.cpp:76: warning: invalid offsetof from non-POD type `class 
>    gGnomeHelpUrl'; use pointer to member instead
> gGnomeHelpUrl.cpp: In member function `virtual nsrefcnt 
>    gGnomeHelpUrl::Internal::Release()':
> gGnomeHelpUrl.cpp:76: warning: invalid offsetof from non-POD type `class 
>    gGnomeHelpUrl'; use pointer to member instead
> gGnomeHelpUrl.cpp: In member function `virtual nsresult 
>    gGnomeHelpUrl::Read(nsIObjectInputStream*)':
> gGnomeHelpUrl.cpp:109: no matching function for call to 
> `nsIObjectInputStream::
>    ReadCString(nsCString&)'
> gGnomeHelpUrl.cpp:112: no matching function for call to 
> `nsIObjectInputStream::
>    ReadCString(nsCString&)'
> 
>   Any advice would be welcome.
> 
>   Roger
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Galeon-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/galeon-devel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.