Hello Dominik,
I can confirm that rev 1447 compiles on my development server.
Thank you for your hard work!
On Sun, Mar 27, 2011 at 5:42 AM, Dominik Seichter <[email protected]> wrote:
> Hi Dennis,
>
> I could reproduce the problem on my other PC and I commited a fix to SVN.
>
> Regards,
> Dom
>
> Am Wednesday 23 March 2011 schrieb dennis jenkins:
>> Same error. Results of "svn up; make clean; make" are below.
>>
>> Maybe my glibc is out of date? My Gentoo system wants me to downgrade
>> glibc. But the "emerge" keeps failing ona cryptic error. I will try
>> to resolve this issue first. (I just noticed this, before I emailed
>> the bug report to you).
>>
>> [ebuild UD] cross-i686-pc-linux-gnu/glibc-2.10.1-r1 [2.11.2-r3]
>> USE="(multilib) nls -debug -gd -glibc-omitfp -hardened -profile
>> (-selinux) -vanilla" 0 kB [?=>1]
>>
>>
>>
>>
>> djenkins@ostara ~/code/podofo $ make
>> [ 0%] Building CXX object
>> src/CMakeFiles/podofo_static.dir/doc/PdfFontMetricsObject.cpp.o
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/stl_vector.h:
>> In constructor
>> 'PoDoFo::PdfFontMetricsObject::PdfFontMetricsObject(PoDoFo::PdfObject*,
>> PoDoFo::PdfObject*, const PoDoFo::PdfEncoding*)':
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/stl_vector.h:552
>> : error: 'void std::vector<_Tp, _Alloc>::resize(size_t, _Tp) [with _Tp =
>> PoDoFo::PdfObject, _Alloc = std::allocator<PoDoFo::PdfObject>]' is
>> inaccessible
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:95: error:
>> within this context
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:95: error:
>> 'std::vector<PoDoFo::PdfObject, std::allocator<PoDoFo::PdfObject> >'
>> is not an accessible base of 'PoDoFo::PdfArray'
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/stl_vector.h:552
>> : error: 'void std::vector<_Tp, _Alloc>::resize(size_t, _Tp) [with _Tp =
>> PoDoFo::PdfObject, _Alloc = std::allocator<PoDoFo::PdfObject>]' is
>> inaccessible
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:105:
>> error: within this context
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:105:
>> error: 'std::vector<PoDoFo::PdfObject,
>> std::allocator<PoDoFo::PdfObject> >' is not an accessible base of
>> 'PoDoFo::PdfArray'
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp: At global
>> scope: /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:169:
>> warning: unused parameter 'c'
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:175:
>> warning: unused parameter 'nFirst'
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:175:
>> warning: unused parameter 'nLast'
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:180:
>> warning: unused parameter 'nGlyphId'
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:186:
>> warning: unused parameter 'pszGlyphname'
>> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:192:
>> warning: unused parameter 'lUnicode'
>> make[2]: ***
>> [src/CMakeFiles/podofo_static.dir/doc/PdfFontMetricsObject.cpp.o] Error 1
>> make[1]: *** [src/CMakeFiles/podofo_static.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> On Tue, Mar 22, 2011 at 5:31 PM, Dominik Seichter <[email protected]>
> wrote:
>> > Hi Dennis,
>> >
>> > I am not sure what causes this problems, because the code looks good to
>> > me and compiles for me using 4.4.4-1.
>> >
>> > I commited some fixes for compiler warnings and tried to address your
>> > issues. Could you please try again with latest trunk?
>> >
>> > Regards,
>> > Dom
>> >
>> > On Tuesday, March 22, 2011 09:49:33 pm dennis jenkins wrote:
>> >> Hello Dominik,
>> >>
>> >> I think that a change introduced in rev 1443 into
>> >> src/doc/PdfFontMetricsObject.cpp broke the build (at least on my
>> >> Gentoo linux dev box). Gorey details below.
>> >>
>> >>
>> >> djenkins@ostara ~/code/podofo $ g++ --version
>> >> g++ (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
>> >> Copyright (C) 2010 Free Software Foundation, Inc.
>> >> This is free software; see the source for copying conditions. There is
>> >> NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> >> PURPOSE.
>> >>
>> >>
>> >>
>> >> djenkins@ostara ~/code/podofo $ svn info .
>> >> Path: .
>> >> URL: https://podofo.svn.sourceforge.net/svnroot/podofo/podofo/trunk
>> >> Repository Root: https://podofo.svn.sourceforge.net/svnroot/podofo
>> >> Repository UUID: f068efa2-cb12-0410-9b19-e61e8c05d287
>> >> Revision: 1442
>> >> Node Kind: directory
>> >> Schedule: normal
>> >> Last Changed Author: domseichter
>> >> Last Changed Rev: 1442
>> >> Last Changed Date: 2011-03-14 15:41:20 -0500 (Mon, 14 Mar 2011)
>> >>
>> >>
>> >> djenkins@ostara ~/code/podofo $ make
>> >> **** 100% successful, but with compiler warnings.
>> >>
>> >>
>> >> djenkins@ostara ~/code/podofo $ svn up -r 1443
>> >> U src/doc/PdfFontMetricsObject.h
>> >> U src/doc/PdfFontMetricsObject.cpp
>> >> U src/doc/PdfFontCID.cpp
>> >> U src/doc/PdfFontCache.cpp
>> >> Updated to revision 1443.
>> >>
>> >>
>> >>
>> >> djenkins@ostara ~/code/podofo $ make
>> >> Scanning dependencies of target podofo_static
>> >> [ 0%] Building CXX object
>> >> src/CMakeFiles/podofo_static.dir/doc/PdfFontCache.cpp.o
>> >> [ 1%] Building CXX object
>> >> src/CMakeFiles/podofo_static.dir/doc/PdfFontCID.cpp.o
>> >> /home/djenkins/code/podofo/src/doc/PdfFontCID.cpp:53: warning: unused
>> >> parameter 'bEmbed'
>> >> [ 1%] Building CXX object
>> >> src/CMakeFiles/podofo_static.dir/doc/PdfFontFactory.cpp.o
>> >> [ 1%] Building CXX object
>> >> src/CMakeFiles/podofo_static.dir/doc/PdfFontMetricsObject.cpp.o
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp: In
>> >> constructor
>> >> 'PoDoFo::PdfFontMetricsObject::PdfFontMetricsObject(PoDoFo::PdfObject*,
>> >> PoDoFo::PdfObject*, const PoDoFo::PdfEncoding*)':
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:94:
>> >> warning: comparison between signed and unsigned integer expressions
>> >> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/stl_vector.h:
>> >> 552
>> >>
>> >> : error: 'void std::vector<_Tp, _Alloc>::resize(size_t, _Tp) [with _Tp =
>> >>
>> >> PoDoFo::PdfObject, _Alloc = std::allocator<PoDoFo::PdfObject>]' is
>> >> inaccessible
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:95: error:
>> >> within this context
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:95: error:
>> >> 'std::vector<PoDoFo::PdfObject, std::allocator<PoDoFo::PdfObject> >'
>> >> is not an accessible base of 'PoDoFo::PdfArray'
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:104:
>> >> warning: comparison between signed and unsigned integer expressions
>> >> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/stl_vector.h:
>> >> 552
>> >>
>> >> : error: 'void std::vector<_Tp, _Alloc>::resize(size_t, _Tp) [with _Tp =
>> >>
>> >> PoDoFo::PdfObject, _Alloc = std::allocator<PoDoFo::PdfObject>]' is
>> >> inaccessible
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:105:
>> >> error: within this context
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:105:
>> >> error: 'std::vector<PoDoFo::PdfObject,
>> >> std::allocator<PoDoFo::PdfObject> >' is not an accessible base of
>> >> 'PoDoFo::PdfArray'
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp: In member
>> >> function 'virtual double
>> >> PoDoFo::PdfFontMetricsObject::CharWidth(unsigned char) const':
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:154:
>> >> warning: comparison between signed and unsigned integer expressions
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp: At global
>> >> scope: /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:169:
>> >> warning: unused parameter 'c'
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:175:
>> >> warning: unused parameter 'nFirst'
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:175:
>> >> warning: unused parameter 'nLast'
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:180:
>> >> warning: unused parameter 'nGlyphId'
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:186:
>> >> warning: unused parameter 'pszGlyphname'
>> >> /home/djenkins/code/podofo/src/doc/PdfFontMetricsObject.cpp:192:
>> >> warning: unused parameter 'lUnicode'
>> >> make[2]: ***
>> >> [src/CMakeFiles/podofo_static.dir/doc/PdfFontMetricsObject.cpp.o] Error
>> >> 1 make[1]: *** [src/CMakeFiles/podofo_static.dir/all] Error 2
>> >> make: *** [all] Error 2
>> >>
>> >>
>> >>
>> >> Head rev (1444 at this time) has the same compiler error.
>> >>
>> >> ------------------------------------------------------------------------
>> >> --- --- Enable your software for Intel(R) Active Management Technology
>> >> to meet the growing manageability and security demands of your
>> >> customers. Businesses are taking advantage of Intel(R) vPro (TM)
>> >> technology - will your software be a part of the solution? Download the
>> >> Intel(R)
>> >> Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
>> >> _______________________________________________
>> >> Podofo-users mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/podofo-users
>>
>> ---------------------------------------------------------------------------
>> --- Enable your software for Intel(R) Active Management Technology to meet
>> the growing manageability and security demands of your customers.
>> Businesses are taking advantage of Intel(R) vPro (TM) technology - will
>> your software be a part of the solution? Download the Intel(R)
>> Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
>> _______________________________________________
>> Podofo-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
>
> --
> Dominik Seichter - [email protected] - http://domseichter.blogspot.com
> 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
>
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users