Deprecated Cups parts in vcl in Debian x86-64

julien2412 serval2412 at yahoo.fr
Sun Nov 25 20:16:40 UTC 2018


Hello,

On pc Debian x86-64 (testing) with master sources updated today +
enable-dbgutil + gcc 8.2.0 + libcups2-dev 2.2.9-2, I got several deprecated
warnings.
/home/julien/lo/libreoffice/vcl/unx/generic/printer/cupsmgr.cxx:84:59:
error: ‘const char* cupsGetPPD(const char*)’ is deprecated: Use
cupsCopyDestInfo and friends instead. [-Werror=deprecated-declarations]
         OString aResult = cupsGetPPD(m_aParameter.getStr());
 
/home/julien/lo/libreoffice/vcl/unx/generic/printer/cupsmgr.cxx: In member
function ‘void psp::CUPSManager::runDests()’:
/home/julien/lo/libreoffice/vcl/unx/generic/printer/cupsmgr.cxx:220:30:
error: ‘http_t* httpConnectEncrypt(const char*, int, http_encryption_t)’ is
deprecated: Use httpConnect2 instead. [-Werror=deprecated-declarations]
              cupsEncryption())) != nullptr )

See attachment  deprecated_elements.txt
<http://document-foundation-mail-archive.969070.n3.nabble.com/file/t230433/deprecated_elements.txt>  

I took a look to Cups API but don't know how to fix this.
If someone interested and has some time...

Julien



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html


More information about the LibreOffice mailing list