[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Errors compiling KOffice
From:       shaheed <srhaque () iee ! org>
Date:       2001-04-03 20:49:25
[Download RAW message or body]

On Monday 02 April 2001 17:46, David Faure wrote:
> On Monday 02 April 2001 17:25, Antonio Pagliaro wrote:
> > Trying to compile Koffice-2.0.1 on a Red Hat 7 system with
> > a AMD processor. I have kde 2.1.0 installed and Qt 2.2.4.
> > And I have upgraded the broken gcc with the latest release.
> > This is what I get (after a long time!):
> >
> > -----------------------------------------------------
> >
> > /usr/include/limits.h:135:3: warning: ISO C does not allow #include_next
> > In file included from wordfilter.h:25,
> >                  from wordfilter.cc:21:
> > winworddoc.h: In method `void WinWordDoc::gotTableRow (unsigned int,
> > unsigned int, const QString *, const MsWordGenerated::PAP *,
> > MsWordGenerated::TAP &)':
> > mswordgenerated.h:4210: `typedef struct MsWordGenerated::TAP
> > MsWordGenerated::TAP' is inaccessible
> >
> > Any idea?
>
> gcc has become more strict since the last KOffice release.
> Move the struct TAP to a "public:" area of the class where it is.


No, try this instead. Please try changing winworddoc.h to say:

class WinWordDoc:
    public QObject, protected Document
{

If this works, please let me know, and I will change it in CVS.

Thanks, Shaheed

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic