Re: [Podofo-users] Linking podofo with xcode project

2020-05-26 Thread zyx
On Tue, 2020-05-26 at 17:06 +0200, Michal Sudolsky wrote: > On which version of linux did you try? Hi, it's Fedora 32 here. > Are there any problems using macro like "SCNd64" from cinttypes? > > Why is PdfXRefStreamParserObject deprecated when it is so essential? No idea about the two fr

Re: [Podofo-users] Linking podofo with xcode project

2020-05-26 Thread Michal Sudolsky
Also there is this additional warning when building with clang with -O3: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘PoDoFo::PdfDate::PdfDate(const PoDoFo::PdfString&)’ at podofo/base/PdfDate.cpp:67:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: wa

Re: [Podofo-users] Linking podofo with xcode project

2020-05-26 Thread Michal Sudolsky
Hi, Hi, > being it it, I'd expect a lot more format-specific warnings, not only > this one. It's only my opinion, no proof available. I just tried with > clang 10.0.0 on Linux and it doesn't claim this warning. It claims some > other, which gcc (10.1.1) does not claim about here. > > On wh

Re: [Podofo-users] Linking podofo with xcode project

2020-05-25 Thread zyx
On Mon, 2020-05-25 at 23:58 +0200, Michal Sudolsky wrote: > Probably only compiler on osx have problem with this which is clang > instead of gcc on linux. Hi, being it it, I'd expect a lot more format-specific warnings, not only this one. It's only my opinion, no proof available. I just tr

Re: [Podofo-users] Linking podofo with xcode project

2020-05-25 Thread Michal Sudolsky
Regarding : https://en.cppreference.com/w/cpp/types/integer On Mon, May 25, 2020 at 11:58 PM Michal Sudolsky wrote: > >> Hi, >> this is long time ago. I checked the code above (at r2008) and it looks >> like this: >> >> int read = sscanf( m_buffer.GetBuffer(), "%10" PDF_FORMAT_INT64 "

Re: [Podofo-users] Linking podofo with xcode project

2020-05-25 Thread Michal Sudolsky
> > > Hi, > this is long time ago. I checked the code above (at r2008) and it looks > like this: > > int read = sscanf( m_buffer.GetBuffer(), "%10" PDF_FORMAT_INT64 " %5" > PDF_FORMAT_INT64 " %c%c%c", > &llOffset, &llGeneration, &cUsed, &empty1, &empty2 ); > > which ma

Re: [Podofo-users] Linking podofo with xcode project

2020-05-22 Thread zyx
On Tue, 2019-01-15 at 13:48 +0100, Michal Sudolsky wrote: > Hi, > By the way when making podofo 0.9.6 on osx there are these 2 > warnings: > > podofo-0.9.6/src/base/PdfParser.cpp:899:31: warning: format specifies > type 'long *' but the argument has type 'PoDoFo::pdf_int64 *' (aka > 'long long *')

Re: [Podofo-users] Linking podofo with xcode project

2019-01-15 Thread Michal Sudolsky
Hi, By the way when making podofo 0.9.6 on osx there are these 2 warnings: podofo-0.9.6/src/base/PdfParser.cpp:899:31: warning: format specifies type 'long *' but the argument has type 'PoDoFo::pdf_int64 *' (aka 'long long *') [-Wformat] &llOffset, &llGenerat

Re: [Podofo-users] Linking podofo with xcode project

2019-01-15 Thread zyx
On Thu, 2019-01-03 at 22:52 +, Deema Alomair via Podofo-users wrote: > I added the library and it’s dependent libraries and i included the > header, but i got 37 wrinings .. could you help me with that ? Hi, while image worth thousand words, 443KB attachment is not that thing. I guess