[MacPorts] #52564: podofo @0.9.4 +universal: non-const lvalue reference to type 'pdf_long' (aka 'int') cannot bind to a value of unrelated type 'long'

MacPorts noreply at macports.org
Mon Oct 10 13:35:01 CEST 2016


#52564: podofo @0.9.4 +universal: non-const lvalue reference to type 'pdf_long'
(aka 'int') cannot bind to a value of unrelated type 'long'
---------------------------+----------------------
  Reporter:  ryandesign@…  |      Owner:  devans@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.4
Resolution:                |   Keywords:
      Port:  podofo        |
---------------------------+----------------------

Old description:

> {{{
> test/unit/EncryptTest.cpp:211:76: error: non-const lvalue reference to
> type 'pdf_long' (aka 'int') cannot bind to a value of unrelated type
> 'long'
>         pEncrypt->Decrypt( pEncryptedBuffer, nOutputLen,
> pDecryptedBuffer, m_lLen );
> ^~~~~~
> /opt/local/var/macports/build/_Users_rschmidt_macports_dports_graphics_podofo/podofo/work/podofo-0.9.4/src/base/PdfEncrypt.h:371:59:
> note: passing argument to parameter 'outLen' here
>                          unsigned char* outStr, pdf_long &outLen) const =
> 0;
>                                                           ^
> 1 error generated.
> }}}

New description:

 {{{
 test/unit/EncryptTest.cpp:211:76: error: non-const lvalue reference to
 type 'pdf_long' (aka 'int') cannot bind to a value of unrelated type
 'long'
         pEncrypt->Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer,
 m_lLen );
 ^~~~~~
 src/base/PdfEncrypt.h:371:59: note: passing argument to parameter 'outLen'
 here
                          unsigned char* outStr, pdf_long &outLen) const =
 0;
                                                           ^
 1 error generated.
 }}}

--

Comment (by ryandesign@…):

 Builds fine when not using the universal variant.

-- 
Ticket URL: <https://trac.macports.org/ticket/52564#comment:1>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list