From: Marc Maurer (j.m.maurer_at_student.utwente.nl)
Date: Wed Dec 17 2003 - 15:29:06 EST
100% untested, but should work
Marc
Fix wordperfect build against libwpd cvs HEAD
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: ./wp/impexp/wordperfect/xp/ie_imp_WordPerfect.cpp
CVS: ./wp/impexp/wordperfect/xp/ie_imp_WordPerfect.h
CVS:
----------------------------------------------------------------------
Op zo 14-12-2003, om 12:51 schreef Rui Miguel Seabra:
> Okay, I'll just disable it in the meanwhile, then.
>
> Remind me to enable it before next release if it's working by then!
>
> Hugs, Rui
>
> On Sun, 2003-12-14 at 03:10, Marc Maurer wrote:
> > HEAD is in now way finished or stable. It depends on libwpd CVS head.
> > I'll working on it a bit in a few days to stabilize things a bit.
> >
> > Marc
> >
> > On Sun, 2003-12-14 at 03:25, Rui Miguel Seabra wrote:
> > > Hi uwog, wlach,
> > >
> > > You might want to take a look at this...
> > >
> > > Is it the code or do I need a more recent libwpd?
> > >
> > > Hugs, Rui
> > >
> > > g++ -DPACKAGE_NAME=\"abiword-plugins\"
> > > -DPACKAGE_TARNAME=\"abiword-plugins\" -DPACKAGE_VERSION=\"2.1.0\"
> > > "-DPACKAGE_STRING=\"abiword-plugins 2.1.0\""
> > > -DPACKAGE_BUGREPORT=\"http://bugzilla.abisource.com/\" -DSTDC_HEADERS=1
> > > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> > > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> > > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> > > -DHAVE_STRINGS_H=1 -DPACKAGE=\"abiword\" -DVERSION=\"2.1.0\"
> > > -DHAVE_DLFCN_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBBZ2=1
> > > -DTIME_WITH_SYS_TIME=1 -I. -I. -DNDEBUG
> > > -I../../../../../abi/src/af/util/xp
> > > -I../../../../../abi/src/af/util/unix -I../../../../../abi/src/af/xap/xp
> > > -I../../../../../abi/src/af/ev/xp -I../../../../../abi/src/af/gr/xp
> > > -I../../../../../abi/src/text/fmt/xp
> > > -I../../../../../abi/src/text/ptbl/xp
> > > -I../../../../../abi/src/wp/impexp/xp -I../../../../../abi/src/wp/ap/xp
> > > -I../../../../../abi/src/other/spell/xp
> > > -I../../../../../abi/src/other/fribidi/xp
> > > -I../../../../../abi/src/other/ttftool/unix
> > > -I../../../../../abi/src/af/xap/unix -I../../../../../abi/src/af/ev/unix
> > > -I../../../../../abi/src/af/gr/unix -I../../../../../abi/src/wp/ap/unix
> > > -DABI_PLUGIN_VERSION=\"2.1.0\" -DABI_PLUGIN_MAJOR=2 -DABI_PLUGIN_MINOR=1
> > > -DABI_PLUGIN_MICRO=0 -DABI_PLUGIN_SOURCE=1 -I/usr/X11R6/include
> > > -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0
> > > -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
> > > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> > > -I/usr/include/pango-1.0 -I/usr/include/libglade-2.0
> > > -I/usr/include/libxml2 -I/usr/include/libwpd-1 -I/usr/include/glib-2.0
> > > -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1
> > > -I/usr/include/libxml2 -O2 -g -pipe -march=i686 -MT
> > > ie_impexp_WordPerfect.lo -MD -MP -MF .deps/ie_impexp_WordPerfect.Tpo -c
> > > ie_impexp_WordPerfect.cpp -fPIC -DPIC -o .libs/ie_impexp_WordPerfect.o
> > > In file included from ie_impexp_WordPerfect.h:26,
> > > from ie_impexp_WordPerfect.cpp:32:
> > > ie_imp_WordPerfect.h:55: error: ISO C++ forbids declaration of
> > > `List_Type' with
> > > no type
> > > ie_imp_WordPerfect.h:55: error: syntax error before `(' token
> > > ie_imp_WordPerfect.h:56: error: semicolon missing after declaration of `
> > > ABI_ListDefinition'
> > > ie_imp_WordPerfect.h: In member function `void
> > > ABI_ListDefinition::setListID(int, unsigned int)':
> > > ie_imp_WordPerfect.h:53: error: `m_iListIDs' undeclared (first use this
> > > function)
> > > ie_imp_WordPerfect.h:53: error: (Each undeclared identifier is reported
> > > only
> > > once for each function it appears in.)
> > > ie_imp_WordPerfect.h: At global scope:
> > > ie_imp_WordPerfect.h:56: error: two or more data types in declaration of
> > > `
> > > setListType'
> > > ie_imp_WordPerfect.h: In function `void incrementLevelNumber(int)':
> > > ie_imp_WordPerfect.h:57: error: `m_iListNumbers' undeclared (first use
> > > this
> > > function)
> > > ie_imp_WordPerfect.h: At global scope:
> > > ie_imp_WordPerfect.h:59: error: non-member function `const int
> > > getLevelNumber(int)' cannot have `const' method qualifier
> > > ie_imp_WordPerfect.h:60: error: non-member function `const int
> > > getOutlineHash()
> > > ' cannot have `const' method qualifier
> > > ie_imp_WordPerfect.h: In function `const int getOutlineHash()':
> > > ie_imp_WordPerfect.h:60: error: `m_iOutlineHash' undeclared (first use
> > > this
> > > function)
> > > ie_imp_WordPerfect.h: At global scope:
> > > ie_imp_WordPerfect.h:62: error: syntax error before `private'
> > > ie_imp_WordPerfect.h:65: error: `int m_iListNumbers[8]' used prior to
> > > declaration
> > > ie_imp_WordPerfect.h:66: error: syntax error before `[' token
> > > ie_imp_WordPerfect.h:67: error: `int m_iOutlineHash' used prior to
> > > declaration
> > > ie_imp_WordPerfect.h:68: error: syntax error before `}' token
> > > make[4]: *** [ie_impexp_WordPerfect.lo] Error 1
> > > make[4]: Leaving directory
> > > `/home/builder/redhat/BUILD/abiword-2.0.99/abiword-plugins/wp/impexp/wordperfect/xp'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory
> > > `/home/builder/redhat/BUILD/abiword-2.0.99/abiword-plugins/wp/impexp/wordperfect'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory
> > > `/home/builder/redhat/BUILD/abiword-2.0.99/abiword-plugins/wp/impexp'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory
> > > `/home/builder/redhat/BUILD/abiword-2.0.99/abiword-plugins/wp'
> > > make: *** [all-recursive] Error 1
-- Marc Maurer <j.m.maurer_at_student.utwente.nl>
This archive was generated by hypermail 2.1.4 : Wed Dec 17 2003 - 15:22:47 EST