I got a SuSE 11.0 VMWare image and I think I fixed all compilation errors. FYI: http://en.opensuse.org/GCC_4.3_Transition this is a nice howto describing the changes necessary to get stuff working with GCC 4.3 - I found it of course AFTER I was done with the changes ....
regards,
Dom
Am Freitag, 20. Juni 2008 schrieben Sie:
> On Fri, Jun 20, 2008 at 12:21 PM, Dominik Seichter <[EMAIL PROTECTED]>
wrote:
> > Hi,
> >
> > I commited a few fixes to trunk that hopefully will fix the build for
> > you. Could you please check if this is the case? If yes I will backport
> > the fixes to the 0.6 release branch.
> >
> > I am also a bit worried about all the warnings about our typedefs. Does
> > anyone one know what change in gcc causes this warnings?
> >
> > regards,
> > Dom
>
> Some progress:
> [ 3%] Building CXX object
> src/CMakeFiles/podofo_static.dir/PdfContentsTokenizer.o
> In file included from /home/peter/svn/podofo/src/PdfDefines.h:78,
> from /home/peter/svn/podofo/src/PdfContentsTokenizer.h:24,
> from
> /home/peter/svn/podofo/src/PdfContentsTokenizer.cpp:21:
> /home/peter/svn/podofo/src/PdfError.h:99: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfError.h:115: warning: 'typedef' was
> ignored in this declaration
> In file included from /home/peter/svn/podofo/src/PdfContentsTokenizer.h:24,
> from
> /home/peter/svn/podofo/src/PdfContentsTokenizer.cpp:21:
> /home/peter/svn/podofo/src/PdfDefines.h:132: warning: 'typedef' was ignored
> in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:157: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:176: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:186: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:199: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:208: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:217: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:226: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:235: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:284: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:301: warning: 'typedef' was
> ignored in this declaration
> /home/peter/svn/podofo/src/PdfDefines.h:319: warning: 'typedef' was
> ignored in this declaration
> In file included from /home/peter/svn/podofo/src/PdfTokenizer.h:26,
> from /home/peter/svn/podofo/src/PdfContentsTokenizer.h:25,
> from
> /home/peter/svn/podofo/src/PdfContentsTokenizer.cpp:21:
> /home/peter/svn/podofo/src/PdfRefCountedInputDevice.h:94: warning:
> 'typedef' was ignored in this declaration
> In file included from /home/peter/svn/podofo/src/PdfContentsTokenizer.h:25,
> from
> /home/peter/svn/podofo/src/PdfContentsTokenizer.cpp:21:
> /home/peter/svn/podofo/src/PdfTokenizer.h:40: warning: 'typedef' was
> ignored in this declaration
> In file included from /home/peter/svn/podofo/src/PdfVariant.h:29,
> from /home/peter/svn/podofo/src/PdfContentsTokenizer.h:26,
> from
> /home/peter/svn/podofo/src/PdfContentsTokenizer.cpp:21:
> /home/peter/svn/podofo/src/PdfString.h:37: warning: 'typedef' was
> ignored in this declaration
> In file included from /home/peter/svn/podofo/src/PdfContentsTokenizer.h:26,
> from
> /home/peter/svn/podofo/src/PdfContentsTokenizer.cpp:21:
> /home/peter/svn/podofo/src/PdfVariant.h:140: warning: type qualifiers
> ignored on function return type
> /home/peter/svn/podofo/src/PdfVariant.h:476: warning: type qualifiers
> ignored on function return type
> In file included from
> /home/peter/svn/podofo/src/PdfContentsTokenizer.cpp:21:
> /home/peter/svn/podofo/src/PdfContentsTokenizer.h:41: warning:
> 'typedef' was ignored in this declaration
> In file included from /home/peter/svn/podofo/src/PdfFont.h:28,
> from /home/peter/svn/podofo/src/PdfFontCache.h:26,
> from /home/peter/svn/podofo/src/PdfDocument.h:25,
> from
> /home/peter/svn/podofo/src/PdfContentsTokenizer.cpp:24:
> /home/peter/svn/podofo/src/PdfFontMetrics.h:47: warning: 'typedef' was
> ignored in this declaration
> In file included from
> /home/peter/svn/podofo/src/PdfContentsTokenizer.cpp:27:
> /home/peter/svn/podofo/src/PdfStream.h: In member function 'void
> PoDoFo::PdfStream::Set(const char*)':
> /home/peter/svn/podofo/src/PdfStream.h:283: error: 'strlen' was not
> declared in this scope
> /home/peter/svn/podofo/src/PdfStream.h: In member function 'void
> PoDoFo::PdfStream::Append(const char*)':
> /home/peter/svn/podofo/src/PdfStream.h:302: error: 'strlen' was not
> declared in this scope
> make[2]: *** [src/CMakeFiles/podofo_static.dir/PdfContentsTokenizer.o]
> Error 1 make[1]: *** [src/CMakeFiles/podofo_static.dir/all] Error 2
> make: *** [all] Error 2
--
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
