configure.ac:57: warning: macro 'AM_ICONV' not found in library
configure.ac:67: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
configure.ac:68: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:53: installing './compile'
configure.ac:21: installing './missing'
Makefile.am: installing './depcomp'
configure.ac:64: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:64: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:64: the top level
filter/common.c: In function ‘SetCommonOptions’:
filter/common.c:67:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
67 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
In file included from filter/common.h:19,
from filter/common.c:28:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/common.c:69:3: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
69 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:70:3: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
70 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:72:3: warning: ‘ppdPageSize’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL)
| ^~
/usr/include/cups/ppd.h:393:26: note: declared here
393 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
filter/common.c:303:3: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") ||
| ^~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:304:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:305:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:306:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:307:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:308:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:309:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:310:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble"))
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c: In function ‘SetCommonOptions’:
filter/common.c:67:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
67 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
In file included from filter/common.h:19,
from filter/common.c:28:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/common.c:69:3: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
69 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:70:3: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
70 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:72:3: warning: ‘ppdPageSize’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL)
| ^~
/usr/include/cups/ppd.h:393:26: note: declared here
393 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
filter/common.c:303:3: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") ||
| ^~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:304:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:305:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:306:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:307:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:308:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:309:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:310:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble"))
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
grep: /usr/share/liblouis/tables/*.utb: No such file or directory
grep: /usr/share/liblouis/tables/*.utb: No such file or directory
filter/imagetoraster.c: In function ‘main’:
filter/imagetoraster.c:377:3: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
377 | if ((choice = ppdFindMarkedChoice(ppd, "MirrorPrint")) != NULL)
| ^~
In file included from filter/common.h:19,
from filter/imagetoraster.c:33:
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/imagetoraster.c:393:3: warning: ‘cupsRasterInterpretPPD’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
393 | if (cupsRasterInterpretPPD(&header, ppd, num_options, options, raster_cb))
| ^~
/usr/include/cups/ppd.h:410:25: note: declared here
410 | extern int cupsRasterInterpretPPD(cups_page_header2_t *h,
| ^~~~~~~~~~~~~~~~~~~~~~
filter/imagetoraster.c:404:3: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
404 | if ((choice = ppdFindMarkedChoice(ppd, "MediaType")) != NULL)
| ^~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/imagetoraster.c:409:3: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
409 | if ((choice = ppdFindMarkedChoice(ppd, "Resolution")) != NULL)
| ^~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
grep: /usr/share/liblouis/tables/*.ctbfilter/imagetoraster.c:883:5: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
883 | ppdClose(ppd);
| ^~~~~~~~
: No such file or directory
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/imagetoraster.c:1072:3: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1072 | if ((choice = ppdFindMarkedChoice(ppd, "PageSize")) != NULL &&
| ^~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/imagetoraster.c:1339:3: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1339 | slowcollate = Collate && ppdFindOption(ppd, "Collate") == NULL;
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/imagetoraster.c:1621:3: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1621 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
grep: /usr/share/liblouis/tables/*.ctb: No such file or directory
filter/imagetopdf.c: In function ‘emitJCLOptions’:
filter/imagetopdf.c:157:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
157 | if ((attr = ppdFindAttr(ppd,"pdftopdfJCLBegin",NULL)) != NULL) {
| ^~
In file included from filter/common.h:19,
from filter/imagetopdf.c:22:
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/imagetopdf.c:171:3: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
171 | if (ppdFindOption(ppd,"Copies") != NULL) {
| ^~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/imagetopdf.c:172:5: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
172 | ppdMarkOption(ppd,"Copies",buf);
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:174:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
174 | if ((attr = ppdFindAttr(ppd,"pdftopdfJCLCopies",buf)) != NULL) {
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/imagetopdf.c:186:5: warning: ‘ppdCollect’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
186 | n = ppdCollect(ppd,(ppd_section_t)section,&choices);
| ^
/usr/include/cups/ppd.h:366:25: note: declared here
366 | extern int ppdCollect(ppd_file_t *ppd, ppd_section_t section,
| ^~~~~~~~~~
filter/imagetopdf.c:190:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
190 | if ((attr = ppdFindAttr(ppd,buf,choices[i]->choice)) != NULL) {
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/imagetopdf.c: In function ‘main’:
filter/imagetopdf.c:791:7: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
791 | && (choice = ppdFindMarkedChoice(ppd,"Copies")) != NULL) {
| ^~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/imagetopdf.c:799:7: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
799 | if (ppdFindOption(ppd,"Duplex") != NULL) {
| ^~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/imagetopdf.c:800:9: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
800 | ppdMarkOption(ppd,"Duplex","True");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:801:9: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
801 | ppdMarkOption(ppd,"Duplex","On");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:808:7: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
808 | if (ppdFindOption(ppd,"Duplex") != NULL) {
| ^~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/imagetopdf.c:809:9: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
809 | ppdMarkOption(ppd,"Duplex","True");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:810:9: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
810 | ppdMarkOption(ppd,"Duplex","On");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:824:5: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
824 | if ((choice = ppdFindMarkedChoice(ppd,"OutputOrder")) != 0) {
| ^~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/imagetopdf.c:826:5: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
826 | } else if ((choice = ppdFindMarkedChoice(ppd,"OutputBin")) != 0 &&
| ^
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/imagetopdf.c:827:9: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
827 | (attr = ppdFindAttr(ppd,"PageStackOrder",choice->choice)) != 0 &&
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/imagetopdf.c:830:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
830 | } else if ((attr = ppdFindAttr(ppd,"DefaultOutputOrder",0)) != 0 &&
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/imagetopdf.c:840:10: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
840 | ((attr = ppdFindAttr(ppd,"cupsEvenDuplex",0)) != 0 &&
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/imagetopdf.c:866:5: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
866 | if ((choice = ppdFindMarkedChoice(ppd,"Collate")) != NULL
| ^~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/imagetopdf.c:1187:5: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1187 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/imagetopdf.c:1386:3: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1386 | if ((choice = ppdFindMarkedChoice(ppd, "PageSize")) != NULL &&
| ^~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/imagetopdf.c:1434:5: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1434 | ppdMarkOption(ppd, "PageSize", s);
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1451:5: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1451 | ppdMarkOption(ppd,"Collate","False");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1460:5: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1460 | if ((choice = ppdFindMarkedChoice(ppd,"Collate")) != NULL &&
| ^~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/imagetopdf.c:1464:7: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1464 | if ((opt = ppdFindOption(ppd,"Collate")) != NULL &&
| ^~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1468:9: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1468 | ppdMarkOption(ppd,"Collate","False");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1474:5: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1474 | if (ppdFindOption(ppd,"OutputOrder") != NULL) {
| ^~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1490:9: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1490 | ppdMarkOption(ppd,"Collate","False");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1512:7: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1512 | ppdMarkOption(ppd,"Copies","1");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1513:7: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1513 | ppdMarkOption(ppd,"JCLCopies","1");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1530:5: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1530 | ppdMarkOption(ppd,"Collate","False");
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1542:3: warning: ‘ppdEmit’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1542 | ppdEmit(ppd, stdout, PPD_ORDER_EXIT);
| ^~~~~~~
/usr/include/cups/ppd.h:369:25: note: declared here
369 | extern int ppdEmit(ppd_file_t *ppd, FILE *fp,
| ^~~~~~~
filter/imagetopdf.c:1561:5: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1561 | if (ppdFindOption(ppd,"Copies") != NULL && deviceCopies > 1)
| ^~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1564:7: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1564 | ppdMarkOption(ppd,"Copies",buf);
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1567:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1567 | if ((attr = ppdFindAttr(ppd,"JCLToPDFInterpreter",NULL)) != NULL)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/imagetopdf.c:1596:5: warning: ‘ppdEmitJCL’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1596 | ppdEmitJCL(ppd, stdout, atoi(argv[1]), argv[2], argv[3]);
| ^~~~~~~~~~
/usr/include/cups/ppd.h:373:25: note: declared here
373 | extern int ppdEmitJCL(ppd_file_t *ppd, FILE *fp, int job_id,
| ^~~~~~~~~~
filter/imagetopdf.c:1847:7: warning: ‘ppdEmitJCLEnd’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1847 | ppdEmitJCLEnd(ppd, stdout);
| ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:421:25: note: declared here
421 | extern int ppdEmitJCLEnd(ppd_file_t *ppd, FILE *fp)
| ^~~~~~~~~~~~~
filter/imagetopdf.c:1852:3: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1852 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
cupsfilters/cmyk.c: In function ‘cupsCMYKLoad’:
cupsfilters/cmyk.c:1130:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1130 | attr = ppdFindNextAttr(ppd, "cupsBlackXY", spec))
| ^~~~
In file included from cupsfilters/driver.h:28,
from cupsfilters/cmyk.c:34:
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1177:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1177 | attr = ppdFindNextAttr(ppd, "cupsAllXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1233:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1233 | attr = ppdFindNextAttr(ppd, "cupsCyanXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1253:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1253 | attr = ppdFindNextAttr(ppd, "cupsAllXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1278:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1278 | attr = ppdFindNextAttr(ppd, "cupsMagentaXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1318:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1318 | attr = ppdFindNextAttr(ppd, "cupsAllXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1363:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1363 | attr = ppdFindNextAttr(ppd, "cupsYellowXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1403:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1403 | attr = ppdFindNextAttr(ppd, "cupsAllXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1452:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1452 | attr = ppdFindNextAttr(ppd, "cupsLightBlackXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1518:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1518 | attr = ppdFindNextAttr(ppd, "cupsLightCyanXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/cmyk.c:1557:12: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1557 | attr = ppdFindNextAttr(ppd, "cupsLightMagentaXY", spec))
| ^~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/attr.c: In function ‘cupsFindAttr’:
cupsfilters/attr.c:67:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
67 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL)
| ^~
In file included from cupsfilters/driver.h:28,
from cupsfilters/attr.c:23:
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/attr.c:72:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
72 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/attr.c:77:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
77 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/attr.c:82:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
82 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/attr.c:87:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
87 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/attr.c:92:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
92 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/attr.c:97:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
97 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c: In function ‘colord_get_qualifier_for_ppd’:
cupsfilters/colord.c:60:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
60 | if ((attr = ppdFindAttr (ppd, "cupsICCQualifier1", NULL)) != NULL &&
| ^~
In file included from cupsfilters/colord.h:38,
from cupsfilters/colord.c:39:
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c:64:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
64 | q1_attr = ppdFindAttr (ppd, q_keyword, NULL);
| ^~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c:66:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
66 | else if ((q1_attr = ppdFindAttr (ppd, "DefaultColorModel", NULL)) == NULL)
| ^~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c:67:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
67 | q1_attr = ppdFindAttr (ppd, "DefaultColorSpace", NULL);
| ^~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c:75:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
75 | if ((attr = ppdFindAttr(ppd, "cupsICCQualifier2", NULL)) != NULL &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c:79:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
79 | q2_attr = ppdFindAttr(ppd, q_keyword, NULL);
| ^~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c:82:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
82 | q2_attr = ppdFindAttr(ppd, "DefaultMediaType", NULL);
| ^~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c:90:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
90 | if ((attr = ppdFindAttr(ppd, "cupsICCQualifier3", NULL)) != NULL &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c:94:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
94 | q3_attr = ppdFindAttr(ppd, q_keyword, NULL);
| ^~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colord.c:97:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
97 | q3_attr = ppdFindAttr(ppd, "DefaultResolution", NULL);
| ^~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colormanager.c: In function ‘_get_ppd_icc_fallback’:
cupsfilters/colormanager.c:299:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
299 | attr = ppdFindAttr(ppd, profile_key, NULL);
| ^~~~
In file included from cupsfilters/colormanager.h:41,
from cupsfilters/colormanager.c:29:
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colormanager.c:302:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
302 | attr = ppdFindAttr(ppd, profile_key, NULL);
| ^~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
cupsfilters/colormanager.c:319:3: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
319 | for (;attr != NULL; attr = ppdFindNextAttr(ppd, profile_key, NULL)) {
| ^~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
cupsfilters/colormanager.c:324:20: warning: the comparison will always evaluate as ‘false’ for the address of ‘spec’ will never be NULL [-Waddress]
324 | if (attr->spec == NULL || attr->value == NULL)
| ^~
/usr/include/cups/ppd.h:144:17: note: ‘spec’ declared here
144 | char spec[PPD_MAX_NAME]; /* Specifier string, if any */
| ^~~~
cupsfilters/raster.c: In function ‘cupsRasterParseIPPOptions’:
cupsfilters/raster.c:121:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
121 | if (ptr && ptr[0] != '\0' && (ppd = ppdOpenFile(ptr)) != NULL)
| ^~
In file included from cupsfilters/raster.c:17:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
cupsfilters/raster.c:125:7: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
125 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
cupsfilters/raster.c:126:7: warning: ‘cupsRasterInterpretPPD’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
126 | cupsRasterInterpretPPD(h, ppd, num_options, options, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:410:25: note: declared here
410 | extern int cupsRasterInterpretPPD(cups_page_header2_t *h,
| ^~~~~~~~~~~~~~~~~~~~~~
cupsfilters/raster.c:129:7: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
129 | if (ppdFindOption(ppd, options[i].name) == NULL)
| ^~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
cupsfilters/rgb.c: In function ‘cupsRGBLoad’:
cupsfilters/rgb.c:370:5: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
370 | if ((attr = ppdFindNextAttr(ppd, "cupsRGBSample", spec)) == NULL)
| ^~
In file included from cupsfilters/driver.h:28,
from cupsfilters/rgb.c:25:
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/qpdf/Buffer.hh:24,
from /usr/include/qpdf/QPDF.hh:36,
from filter/pdftopdf/qpdf_pdftopdf_processor.h:5,
from filter/pdftopdf/pdftopdf_processor.cc:2:
/usr/include/qpdf/PointerHolder.hh:32:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp]
32 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh"
| ^~~~~~~
In file included from /usr/include/qpdf/Buffer.hh:24,
from /usr/include/qpdf/QPDF.hh:36,
from filter/pdftopdf/qpdf_pdftopdf_processor.h:5,
from filter/pdftopdf/qpdf_pdftopdf_processor.cc:1:
/usr/include/qpdf/PointerHolder.hh:32:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp]
32 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh"
| ^~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc: In function ‘void emitJCLOptions(FILE*, ppd_file_t*, int)’:
filter/pdftopdf/pdftopdf_jcl.cc:21:26: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
21 | if ((attr = ppdFindAttr(ppd,"pdftopdfJCLBegin",NULL)) != NULL) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from filter/pdftopdf/pdftopdf_jcl.cc:3:
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc:35:20: warning: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
35 | if (ppdFindOption(ppd,"Copies") != NULL) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc:36:18: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
36 | ppdMarkOption(ppd,"Copies",buf);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc:38:28: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
38 | if ((attr = ppdFindAttr(ppd,"pdftopdfJCLCopies",buf)) != NULL) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc:48:23: warning: ‘int ppdCollect(ppd_file_t*, ppd_section_t, ppd_choice_t***)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
48 | int n = ppdCollect(ppd,(ppd_section_t)section,&choices);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:366:25: note: declared here
366 | extern int ppdCollect(ppd_file_t *ppd, ppd_section_t section,
| ^~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc:52:30: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
52 | if ((attr = ppdFindAttr(ppd,buf,choices[i]->choice)) != NULL) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc: In function ‘void emitPreamble(ppd_file_t*, const ProcessingParameters&)’:
filter/pdftopdf/pdftopdf_jcl.cc:124:10: warning: ‘int ppdEmit(ppd_file_t*, FILE*, ppd_section_t)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
124 | ppdEmit(ppd,stdout,PPD_ORDER_EXIT);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:369:25: note: declared here
369 | extern int ppdEmit(ppd_file_t *ppd, FILE *fp,
| ^~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc:139:22: warning: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
139 | if (ppdFindOption(ppd,"Copies") != NULL &&
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc:142:20: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
142 | ppdMarkOption(ppd,"Copies",buf);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc:145:26: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
145 | if ((attr=ppdFindAttr(ppd,"JCLToPDFInterpreter",NULL)) != NULL) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc:164:15: warning: ‘int ppdEmitJCL(ppd_file_t*, FILE*, int, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
164 | ppdEmitJCL(ppd,stdout,param.jobId,param.user,param.title);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:373:25: note: declared here
373 | extern int ppdEmitJCL(ppd_file_t *ppd, FILE *fp, int job_id,
| ^~~~~~~~~~
filter/pdftopdf/pdftopdf_jcl.cc: In function ‘void emitPostamble(ppd_file_t*, const ProcessingParameters&)’:
filter/pdftopdf/pdftopdf_jcl.cc:175:18: warning: ‘int ppdEmitJCLEnd(ppd_file_t*, FILE*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
175 | ppdEmitJCLEnd(ppd,stdout);
| ~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/cups/ppd.h:421:25: note: declared here
421 | extern int ppdEmitJCLEnd(ppd_file_t *ppd, FILE *fp)
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc: In function ‘void setFinalPPD(ppd_file_t*, const ProcessingParameters&)’:
filter/pdftopdf/pdftopdf.cc:46:50: warning: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
46 | if ((param.booklet==BOOKLET_ON)&&(ppdFindOption(ppd,"Duplex"))) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from filter/pdftopdf/pdftopdf.cc:10:
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:48:18: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
48 | ppdMarkOption(ppd,"Duplex","DuplexTumble");
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:53:40: warning: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
53 | if ((param.setDuplex)&&(ppdFindOption(ppd,"Duplex")!=NULL)) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:54:18: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
54 | ppdMarkOption(ppd,"Duplex","True");
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:55:18: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
55 | ppdMarkOption(ppd,"Duplex","On");
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:60:34: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
60 | if ((choice=ppdFindMarkedChoice(ppd,"MirrorPrint")) != NULL) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc: In function ‘bool ppdGetInt(ppd_file_t*, const char*, int*)’:
filter/pdftopdf/pdftopdf.cc:69:43: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
69 | ppd_choice_t *choice=ppdFindMarkedChoice(ppd,name); // !ppd is ok.
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc: In function ‘bool ppdGetDuplex(ppd_file_t*)’:
filter/pdftopdf/pdftopdf.cc:145:22: warning: ‘int ppdIsMarked(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
145 | if (ppdIsMarked(ppd, *option, *choice))
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc: In function ‘bool ppdDefaultOrder(ppd_file_t*)’:
filter/pdftopdf/pdftopdf.cc:159:34: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
159 | if ((choice=ppdFindMarkedChoice(ppd,"OutputOrder")) != NULL) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:161:42: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
161 | } else if (((choice=ppdFindMarkedChoice(ppd,"OutputBin")) != NULL)&&
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:162:32: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
162 | ((attr=ppdFindAttr(ppd,"PageStackOrder",choice->choice)) != NULL)) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:164:31: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
164 | } else if ((attr=ppdFindAttr(ppd,"DefaultOutputOrder",0)) != NULL) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc: In function ‘void getParameters(ppd_file_t*, int, cups_option_t*, ProcessingParameters&)’:
filter/pdftopdf/pdftopdf.cc:396:28: warning: ‘ppd_size_t* ppdPageSize(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
396 | if ((pagesize=ppdPageSize(ppd,0)) != NULL) { // "already rotated"
| ~~~~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:393:26: note: declared here
393 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:554:34: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
554 | if ((choice=ppdFindMarkedChoice(ppd,"MirrorPrint")) != NULL) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:626:24: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
626 | if ((attr=ppdFindAttr(ppd,"cupsEvenDuplex",0)) != NULL) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:706:36: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
706 | if ((ppd_attr = ppdFindAttr(ppd, "cupsFilter2", NULL)) != NULL) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:719:47: warning: ‘ppd_attr_t* ppdFindNextAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
719 | } while ((ppd_attr = ppdFindNextAttr(ppd, "cupsFilter2", NULL))
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:402:26: note: declared here
402 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc: In function ‘bool printerWillCollate(ppd_file_t*)’:
filter/pdftopdf/pdftopdf.cc:801:35: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
801 | if (((choice=ppdFindMarkedChoice(ppd,"Collate")) != NULL)&&
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:805:36: warning: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
805 | ppd_option_t *opt=ppdFindOption(ppd,"Collate");
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc: In function ‘void calculate(ppd_file_t*, ProcessingParameters&)’:
filter/pdftopdf/pdftopdf.cc:860:18: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
860 | ppdMarkOption(ppd,"Copies","1");
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:861:18: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
861 | ppdMarkOption(ppd,"JCLCopies","1");
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:867:18: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
867 | ppdMarkOption(ppd,"Collate","False"); // disable any hardware-collate (in JCL)
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc: In function ‘int main(int, char**)’:
filter/pdftopdf/pdftopdf.cc:1110:20: warning: ‘ppd_file_t* ppdOpenFile(const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1110 | ppd=ppdOpenFile(getenv("PPD")); // getenv (and thus ppd) may be null. This will not cause problems.
| ~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:1111:20: warning: ‘void ppdMarkDefaults(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1111 | ppdMarkDefaults(ppd);
| ~~~~~~~~~~~~~~~^~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:1113:20: warning: ‘int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1113 | cupsMarkOptions(ppd,num_options,options);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/pdftopdf/pdftopdf.cc:1163:17: warning: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1163 | ppdClose(ppd);
| ~~~~~~~~^~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/pdftopdf/pdftopdf.cc:1167:17: warning: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1167 | ppdClose(ppd);
| ~~~~~~~~^~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/pdftopdf/pdftopdf.cc:1171:17: warning: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1171 | ppdClose(ppd);
| ~~~~~~~~^~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/pdftopdf/pdftopdf.cc:1179:17: warning: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1179 | ppdClose(ppd);
| ~~~~~~~~^~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/pdftopdf/pdftopdf.cc:1183:17: warning: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1183 | ppdClose(ppd);
| ~~~~~~~~^~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/pdftopdf/pdftopdf.cc:1308:15: warning: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1308 | ppdClose(ppd);
| ~~~~~~~~^~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/pdftopdf/pdftopdf.cc:1319:13: warning: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1319 | ppdClose(ppd);
| ~~~~~~~~^~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/pdftopdf/qpdf_pdftopdf_processor.cc: In member function ‘QPDFObjectHandle QPDF_PDFTOPDF_PageHandle::get()’:
filter/pdftopdf/qpdf_pdftopdf_processor.cc:86:28: warning: ‘void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)’ is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations]
86 | page.replaceOrRemoveKey("/Rotate",makeRotate(rotation));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qpdf/QPDF.hh:42:
/usr/include/qpdf/QPDFObjectHandle.hh:968:5: note: declared here
968 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&);
| ^~~~~~~~~~~~~~~~~~
filter/pdftopdf/qpdf_pdftopdf_processor.cc:89:28: warning: ‘void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)’ is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations]
89 | page.replaceOrRemoveKey("/Rotate",makeRotate(rot));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qpdf/QPDFObjectHandle.hh:968:5: note: declared here
968 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&);
| ^~~~~~~~~~~~~~~~~~
filter/pdftopdf/qpdf_pdftopdf_processor.cc: In member function ‘virtual Rotation QPDF_PDFTOPDF_PageHandle::crop(const PageRect&, Rotation, Rotation, Position, Position, bool, bool)’:
filter/pdftopdf/qpdf_pdftopdf_processor.cc:184:28: warning: ‘void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)’ is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations]
184 | page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_90));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qpdf/QPDFObjectHandle.hh:968:5: note: declared here
968 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&);
| ^~~~~~~~~~~~~~~~~~
filter/pdftopdf/qpdf_pdftopdf_processor.cc:186:28: warning: ‘void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)’ is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations]
186 | page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_0));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qpdf/QPDFObjectHandle.hh:968:5: note: declared here
968 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&);
| ^~~~~~~~~~~~~~~~~~
filter/pdftopdf/qpdf_pdftopdf_processor.cc:245:26: warning: ‘void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)’ is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations]
245 | page.replaceOrRemoveKey("/Rotate",makeRotate(save_rotate));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qpdf/QPDFObjectHandle.hh:968:5: note: declared here
968 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&);
| ^~~~~~~~~~~~~~~~~~
filter/pdftopdf/qpdf_pdftopdf_processor.cc: In member function ‘virtual bool QPDF_PDFTOPDF_PageHandle::is_landscape(Rotation)’:
filter/pdftopdf/qpdf_pdftopdf_processor.cc:254:28: warning: ‘void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)’ is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations]
254 | page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_90));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qpdf/QPDFObjectHandle.hh:968:5: note: declared here
968 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&);
| ^~~~~~~~~~~~~~~~~~
filter/pdftopdf/qpdf_pdftopdf_processor.cc:256:28: warning: ‘void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)’ is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations]
256 | page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_0));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qpdf/QPDFObjectHandle.hh:968:5: note: declared here
968 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&);
| ^~~~~~~~~~~~~~~~~~
filter/pdftopdf/qpdf_pdftopdf_processor.cc:261:26: warning: ‘void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)’ is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations]
261 | page.replaceOrRemoveKey("/Rotate",makeRotate(save_rotate));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qpdf/QPDFObjectHandle.hh:968:5: note: declared here
968 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&);
| ^~~~~~~~~~~~~~~~~~
filter/pdftopdf/qpdf_pdftopdf_processor.cc: In member function ‘virtual void QPDF_PDFTOPDF_Processor::autoRotateAll(bool, Rotation)’:
filter/pdftopdf/qpdf_pdftopdf_processor.cc:665:30: warning: ‘void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)’ is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations]
665 | page.replaceOrRemoveKey("/Rotate",makeRotate(src_rot+rotation));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qpdf/QPDFObjectHandle.hh:968:5: note: declared here
968 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/qpdf/Buffer.hh:24,
from /usr/include/qpdf/QPDFObjectHandle.hh:41,
from filter/pdftopdf/qpdf_xobject.h:4,
from filter/pdftopdf/qpdf_xobject.cc:1:
/usr/include/qpdf/PointerHolder.hh:32:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp]
32 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh"
| ^~~~~~~
In file included from /usr/include/qpdf/Buffer.hh:24,
from /usr/include/qpdf/QPDFObjectHandle.hh:41,
from filter/pdftopdf/qpdf_tools.h:4,
from filter/pdftopdf/qpdf_tools.cc:1:
/usr/include/qpdf/PointerHolder.hh:32:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp]
32 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh"
| ^~~~~~~
In file included from /usr/include/qpdf/Buffer.hh:24,
from /usr/include/qpdf/QPDFObjectHandle.hh:41,
from filter/pdftopdf/qpdf_pdftopdf.h:4,
from filter/pdftopdf/qpdf_pdftopdf.cc:1:
/usr/include/qpdf/PointerHolder.hh:32:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp]
32 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh"
| ^~~~~~~
In file included from /usr/include/qpdf/Buffer.hh:24,
from /usr/include/qpdf/QPDF.hh:36,
from filter/pdftopdf/qpdf_cm.h:4,
from filter/pdftopdf/qpdf_cm.cc:1:
/usr/include/qpdf/PointerHolder.hh:32:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp]
32 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh"
| ^~~~~~~
filter/commandtoescpx.c: In function ‘main’:
filter/commandtoescpx.c:65:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
65 | if ((ppd = ppdOpenFile(getenv("PPD"))) == NULL)
| ^~
In file included from filter/commandtoescpx.c:23:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/commandtoescpx.c:233:3: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
233 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/commandtopclx.c: In function ‘main’:
filter/commandtopclx.c:65:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
65 | if ((ppd = ppdOpenFile(getenv("PPD"))) == NULL)
| ^~
In file included from filter/commandtopclx.c:23:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/commandtopclx.c:160:3: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
160 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/common.c: In function ‘SetCommonOptions’:
filter/common.c:67:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
67 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
In file included from filter/common.h:19,
from filter/common.c:28:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/common.c:69:3: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
69 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:70:3: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
70 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:72:3: warning: ‘ppdPageSize’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL)
| ^~
/usr/include/cups/ppd.h:393:26: note: declared here
393 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
filter/common.c:303:3: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") ||
| ^~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:304:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:305:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:306:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:307:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:308:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:309:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:310:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble"))
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/texttotext.c: In function ‘main’:
filter/texttotext.c:260:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
260 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
In file included from filter/texttotext.c:22:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/texttotext.c:263:5: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
263 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/texttotext.c:264:5: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
264 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/texttotext.c:276:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
276 | (ppd_attr = ppdFindAttr(ppd, "DefaultPageSize", NULL)) != NULL ||
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:277:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
277 | (ppd_attr = ppdFindAttr(ppd, "DefaultPageRegion", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:283:9: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
283 | (ppd_attr = ppdFindAttr(ppd, buffer, NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:292:9: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
292 | (ppd_attr = ppdFindAttr(ppd, buffer, NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:334:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
334 | (ppd_attr = ppdFindAttr(ppd, "Defaultpage-left", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:347:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
347 | (ppd_attr = ppdFindAttr(ppd, "Defaultpage-right", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:360:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
360 | (ppd_attr = ppdFindAttr(ppd, "Defaultpage-top", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:373:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
373 | (ppd_attr = ppdFindAttr(ppd, "Defaultpage-bottom", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:395:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
395 | (ppd_attr = ppdFindAttr(ppd, "DefaultPrinterEncoding", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:409:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
409 | (ppd_attr = ppdFindAttr(ppd, "DefaultOverlongLines", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:428:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
428 | (ppd_attr = ppdFindAttr(ppd, "DefaultTabWidth", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:443:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
443 | (ppd_attr = ppdFindAttr(ppd, "DefaultPagination", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:458:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
458 | (ppd_attr = ppdFindAttr(ppd, "DefaultSendFF", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/texttotext.c:474:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
474 | (ppd_attr = ppdFindAttr(ppd, "DefaultNewlineCharacters", NULL)) != NULL) {
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/common.c: In function ‘SetCommonOptions’:
filter/common.c:67:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
67 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
In file included from filter/common.h:19,
from filter/common.c:28:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/common.c:69:3: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
69 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:70:3: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
70 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:72:3: warning: ‘ppdPageSize’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL)
| ^~
/usr/include/cups/ppd.h:393:26: note: declared here
393 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
filter/common.c:303:3: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") ||
| ^~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:304:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:305:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:306:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:307:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:308:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:309:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:310:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble"))
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
In file included from /usr/include/qpdf/Buffer.hh:24,
from /usr/include/qpdf/QPDF.hh:36,
from filter/pdf.cxx:24:
/usr/include/qpdf/PointerHolder.hh:32:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp]
32 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh"
| ^~~~~~~
filter/pdftops.c: In function ‘main’:
filter/pdftops.c:442:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
442 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
In file included from filter/pdftops.c:29:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/pdftops.c:445:5: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
445 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/pdftops.c:446:5: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
446 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/pdftops.c:808:5: warning: ‘cupsRasterInterpretPPD’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
808 | cupsRasterInterpretPPD(&header, ppd, num_options, options, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:410:25: note: declared here
410 | extern int cupsRasterInterpretPPD(cups_page_header2_t *h,
| ^~~~~~~~~~~~~~~~~~~~~~
filter/pdftops.c:816:5: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
816 | else if ((choice = ppdFindMarkedChoice(ppd, "Resolution")) != NULL)
| ^~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftops.c:818:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
818 | else if ((attr = ppdFindAttr(ppd,"DefaultResolution",NULL)) != NULL)
| ^~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c: In function ‘StartPage’:
filter/rastertoescpx.c:374:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
374 | if ((attr = ppdFindAttr(ppd, "cupsESCPFP", NULL)) != NULL && attr->value)
| ^~
In file included from ./cupsfilters/driver.h:28,
from filter/rastertoescpx.c:30:
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:395:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
395 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN0", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:405:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
405 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN1", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:415:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
415 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN2", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:425:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
425 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN6", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:435:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
435 | if ((attr = ppdFindAttr(ppd, "cupsESCPMT", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:445:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
445 | if ((attr = ppdFindAttr(ppd, "cupsESCPPH", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:460:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
460 | if ((attr = ppdFindAttr(ppd, "cupsESCPPC", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:470:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
470 | if ((attr = ppdFindAttr(ppd, "cupsESCPPP", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:486:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
486 | if ((attr = ppdFindAttr(ppd, "cupsESCPEX", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:497:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
497 | if ((attr = ppdFindAttr(ppd, "cupsESCPMS", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:611:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
611 | if ((attr = ppdFindAttr(ppd, "cupsESCPAC", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:620:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
620 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN80", header->MediaType)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:630:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
630 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN81", header->MediaType)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:641:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
641 | if ((attr = ppdFindAttr(ppd, "cupsESCPCO", spec)) != NULL && attr->value)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:868:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
868 | if ((attr = ppdFindAttr(ppd, "cupsESCPBlack", resolution)) != NULL &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c:886:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
886 | if ((attr = ppdFindAttr(ppd, "cupsESCPOffsets", resolution)) != NULL &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertoescpx.c: In function ‘main’:
filter/rastertoescpx.c:1786:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1786 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/rastertoescpx.c:1795:5: warning: ‘ppdLastError’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1795 | status = ppdLastError(&linenum);
| ^~~~~~
/usr/include/cups/ppd.h:404:25: note: declared here
404 | extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~
filter/rastertoescpx.c:1797:5: warning: ‘ppdErrorString’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1797 | fprintf(stderr, "DEBUG: %s on line %d.\n", ppdErrorString(status), linenum);
| ^~~~~~~
/usr/include/cups/ppd.h:399:26: note: declared here
399 | extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~
filter/rastertoescpx.c:1802:3: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1802 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/rastertoescpx.c:1803:3: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1803 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/rastertopclx.c: In function ‘StartPage’:
filter/rastertopclx.c:454:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
454 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsInitialNulls", NULL)) != NULL))
| ^~
In file included from ./cupsfilters/colormanager.h:41,
from filter/rastertopclx.c:29:
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:468:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
468 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "StartJob")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:473:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
473 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", spec)) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:477:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
477 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", spec)) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:483:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
483 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", spec)) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:486:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
486 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "Duplex")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:492:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
492 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "Tumble")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:498:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
498 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "MediaClass")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:502:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
502 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "MediaColor")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:506:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
506 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "MediaType")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:510:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
510 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "OutputType")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:514:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
514 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsBooklet")) != NULL &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:515:17: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
515 | (choice = ppdFindMarkedChoice(ppd, "cupsBooklet")) != NULL))
| ^
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/rastertopclx.c:519:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
519 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "Jog")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:525:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
525 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsPunch")) != NULL &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:526:17: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
526 | (choice = ppdFindMarkedChoice(ppd, "cupsPunch")) != NULL))
| ^
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/rastertopclx.c:530:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
530 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsStaple")) != NULL &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:531:17: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
531 | (choice = ppdFindMarkedChoice(ppd, "cupsStaple")) != NULL))
| ^
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/rastertopclx.c:535:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
535 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsRET")) != NULL &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:536:17: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
536 | (choice = ppdFindMarkedChoice(ppd, "cupsRET")) != NULL))
| ^
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/rastertopclx.c:540:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
540 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsTonerSave")) != NULL &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:541:17: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
541 | (choice = ppdFindMarkedChoice(ppd, "cupsTonerSave")) != NULL))
| ^
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/rastertopclx.c:555:7: warning: ‘ppdEmit’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
555 | ppdEmit(ppd, stdout, PPD_ORDER_JCL);
| ^~~~~~~
/usr/include/cups/ppd.h:369:25: note: declared here
369 | extern int ppdEmit(ppd_file_t *ppd, FILE *fp,
| ^~~~~~~
filter/rastertopclx.c:621:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
621 | if (!ppd || ppdFindAttr(ppd, "cupsPJL", "Duplex") == NULL)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:635:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
635 | if ((!ppd || ppdFindAttr(ppd, "cupsPJL", "Jog") == NULL) && header->Jog)
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:772:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
772 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPCLOrigin", "X")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:777:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
777 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPCLOrigin", "Y")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c: In function ‘Shutdown’:
filter/rastertopclx.c:914:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
914 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPCL", "EndJob")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c:936:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
936 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "EndJob")) != NULL))
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopclx.c: In function ‘main’:
filter/rastertopclx.c:1834:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1834 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/rastertopclx.c:1838:5: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1838 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/rastertopclx.c:1839:5: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1839 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/rastertopclx.c:1848:5: warning: ‘ppdLastError’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1848 | status = ppdLastError(&linenum);
| ^~~~~~
/usr/include/cups/ppd.h:404:25: note: declared here
404 | extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~
filter/rastertopclx.c:1850:5: warning: ‘ppdErrorString’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1850 | fprintf(stderr, "DEBUG: %s on line %d.\n", ppdErrorString(status), linenum);
| ^~~~~~~
/usr/include/cups/ppd.h:399:26: note: declared here
399 | extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~
filter/common.c: In function ‘SetCommonOptions’:
filter/common.c:67:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
67 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
In file included from filter/common.h:19,
from filter/common.c:28:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/common.c:69:3: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
69 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:70:3: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
70 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/common.c:72:3: warning: ‘ppdPageSize’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL)
| ^~
/usr/include/cups/ppd.h:393:26: note: declared here
393 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
filter/common.c:303:3: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") ||
| ^~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:304:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:305:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:306:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:307:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:308:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:309:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/common.c:310:7: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble"))
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/textcommon.c: In function ‘TextMain’:
filter/textcommon.c:1194:5: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1194 | ppdClose(ppd);
| ^~~~~~~~
In file included from filter/common.h:19,
from filter/textcommon.h:17,
from filter/textcommon.c:23:
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/bannertopdf.c: In function ‘get_pagesize’:
filter/bannertopdf.c:89:5: warning: ‘ppdPageSize’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
89 | if (!ppd || !(pagesize = ppdPageSize(ppd, NULL)))
| ^~
In file included from filter/bannertopdf.c:32:
/usr/include/cups/ppd.h:393:26: note: declared here
393 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
filter/bannertopdf.c: In function ‘duplex_marked’:
filter/bannertopdf.c:157:8: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
157 | (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") ||
| ^
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/bannertopdf.c:158:9: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
158 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/bannertopdf.c:159:9: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
159 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/bannertopdf.c:160:9: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
160 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/bannertopdf.c:161:9: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
161 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/bannertopdf.c:162:9: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
162 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/bannertopdf.c:163:9: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
163 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/bannertopdf.c:164:9: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
164 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble"))) ||
| ^~~~~~~~~~~
/usr/include/cups/ppd.h:383:25: note: declared here
383 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~
filter/bannertopdf.c: In function ‘get_known_opts’:
filter/bannertopdf.c:347:21: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
347 | (attr = ppdFindAttr(ppd, "FileVersion", NULL)) ?
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/bannertopdf.c: In function ‘generate_banner_pdf’:
filter/bannertopdf.c:450:19: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
450 | (attr = ppdFindAttr(ppd, "FileVersion", NULL)) ? attr->value : "");
| ^
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/bannertopdf.c: In function ‘main’:
filter/bannertopdf.c:547:5: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
547 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/bannertopdf.c:553:7: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
553 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/bannertopdf.c:554:7: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
554 | cupsMarkOptions(ppd, noptions, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/rastertops.c: In function ‘main’:
filter/rastertops.c:398:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
398 | ppd = ppdOpenFile(getenv("PPD"));
| ^~~
In file included from ./cupsfilters/colormanager.h:41,
from filter/rastertops.c:37:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/rastertops.c:402:5: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
402 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/rastertops.c:403:5: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
403 | cupsMarkOptions(ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/rastertops.c:411:5: warning: ‘ppdLastError’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
411 | status = ppdLastError(&linenum);
| ^~~~~~
/usr/include/cups/ppd.h:404:25: note: declared here
404 | extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~
filter/rastertops.c:412:5: warning: ‘ppdErrorString’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
412 | fprintf(stderr, "DEBUG: %s on line %d.\n", ppdErrorString(status), linenum);
| ^~~~~~~
/usr/include/cups/ppd.h:399:26: note: declared here
399 | extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~
filter/gstoraster.c: In function ‘main’:
filter/gstoraster.c:685:5: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
685 | if ((ppd = ppdOpenFile(t)) == NULL) {
| ^~
In file included from ./cupsfilters/colormanager.h:41,
from filter/gstoraster.c:45:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/gstoraster.c:690:5: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
690 | ppdMarkDefaults (ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/gstoraster.c:691:5: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
691 | cupsMarkOptions (ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/gstoraster.c:873:5: warning: ‘cupsRasterInterpretPPD’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
873 | cupsRasterInterpretPPD(&h,ppd,num_options,options,0);
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:410:25: note: declared here
410 | extern int cupsRasterInterpretPPD(cups_page_header2_t *h,
| ^~~~~~~~~~~~~~~~~~~~~~
filter/gstoraster.c:877:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
877 | if ((attr = ppdFindAttr(ppd,"PWGRaster",0)) != 0 &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/gstoraster.c:888:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
888 | if ((attr = ppdFindAttr(ppd,"ColorDevice",0)) != 0 &&
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/gstoraster.c:930:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
930 | if (ppd && (attr = ppdFindAttr(ppd, "DefaultResolution", 0)) != NULL) {
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/gstoraster.c:1008:8: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1008 | ppd && (attr = ppdFindAttr(ppd,"DefaultCenterOfPixel", NULL)) != NULL &&
| ^~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/gstoraster.c:1045:5: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1045 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
In file included from /usr/include/qpdf/Buffer.hh:24,
from /usr/include/qpdf/QPDF.hh:36,
from filter/rastertopdf.cpp:42:
/usr/include/qpdf/PointerHolder.hh:32:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp]
32 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh"
| ^~~~~~~
In file included from /usr/include/qpdf/Buffer.hh:24,
from /usr/include/qpdf/QPDF.hh:36,
from filter/pdf.cxx:24:
/usr/include/qpdf/PointerHolder.hh:32:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp]
32 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh"
| ^~~~~~~
filter/mupdftoraster.c: In function ‘main’:
filter/mupdftoraster.c:273:5: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
273 | if ((ppd = ppdOpenFile(t)) == NULL) {
| ^~
In file included from ./cupsfilters/colormanager.h:41,
from filter/mupdftoraster.c:45:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/mupdftoraster.c:278:5: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
278 | ppdMarkDefaults (ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/mupdftoraster.c:279:5: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
279 | cupsMarkOptions (ppd, num_options, options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/mupdftoraster.c:361:5: warning: ‘cupsRasterInterpretPPD’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
361 | cupsRasterInterpretPPD(&h, ppd, num_options, options, 0);
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:410:25: note: declared here
410 | extern int cupsRasterInterpretPPD(cups_page_header2_t *h,
| ^~~~~~~~~~~~~~~~~~~~~~
filter/mupdftoraster.c:378:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
378 | if (ppd && (attr = ppdFindAttr(ppd, "DefaultResolution", 0)) != NULL) {
| ^~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/mupdftoraster.c:431:5: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
431 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/foomatic-rip/foomaticrip.c: In function ‘main’:
filter/foomatic-rip/foomaticrip.c:1003:33: warning: the comparison will always evaluate as ‘true’ for the address of ‘printer’ will never be NULL [-Waddress]
1003 | if (spooler == SPOOLER_CUPS && job->printer && strlen(job->printer) > 0) {
| ^~
In file included from filter/foomatic-rip/foomaticrip.c:24:
filter/foomatic-rip/foomaticrip.h:84:10: note: ‘printer’ declared here
84 | char printer[256];
| ^~~~~~~
filter/foomatic-rip/foomaticrip.c:1004:7: warning: ‘cupsGetPPD’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1004 | str = cupsGetPPD(job->printer);
| ^~~
In file included from ./cupsfilters/colormanager.h:41,
from filter/foomatic-rip/foomaticrip.c:46:
/usr/include/cups/ppd.h:359:26: note: declared here
359 | extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~
filter/foomatic-rip/foomaticrip.c: In function ‘config_set_option’:
filter/foomatic-rip/foomaticrip.c:196:9: warning: ‘strlcpy’ writing 32 bytes into a region of size 10 overflows the destination [-Wstringop-overflow=]
196 | strlcpy(modern_shell, value, 32);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
filter/foomatic-rip/foomaticrip.c:178:6: note: destination object ‘modern_shell’ of size 10
178 | char modern_shell[] = SHELL;
| ^~~~~~~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from filter/foomatic-rip/foomaticrip.h:34:
/usr/include/bits/string_fortified.h:161:1: note: in a call to function ‘strlcpy’ declared with attribute ‘access (write_only, 1, 3)’
161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
filter/pdftoraster.cxx: In function ‘void handleRqeuiresPageRegion()’:
filter/pdftoraster.cxx:304:26: warning: ‘ppd_size_t* ppdPageSize(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
304 | if ((size = ppdPageSize(ppd,NULL)) == NULL) return;
| ~~~~~~~~~~~^~~~~~~~~~
In file included from filter/pdftoraster.cxx:44:
/usr/include/cups/ppd.h:393:26: note: declared here
393 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
filter/pdftoraster.cxx:305:27: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
305 | mf = ppdFindMarkedChoice(ppd,"ManualFeed");
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftoraster.cxx:306:32: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
306 | if ((is = ppdFindMarkedChoice(ppd,"InputSlot")) != NULL) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftoraster.cxx:307:27: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
307 | rregions = ppdFindAttr(ppd,"RequiresPageRegion",is->choice);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftoraster.cxx:310:27: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
310 | rregions = ppdFindAttr(ppd,"RequiresPageRegion","All");
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftoraster.cxx:316:18: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
316 | ppdMarkOption(ppd,"PageSize",size->name);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftoraster.cxx:319:18: warning: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
319 | ppdMarkOption(ppd,"PageRegion",size->name);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
| ^~~~~~~~~~~~~
filter/pdftoraster.cxx:323:36: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
323 | if ((page = ppdFindMarkedChoice(ppd,"PageSize")) != NULL) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftoraster.cxx:327:36: warning: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
327 | if ((page = ppdFindMarkedChoice(ppd,"PageRegion")) != NULL) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
filter/pdftoraster.cxx: In function ‘void parseOpts(int, char**)’:
filter/pdftoraster.cxx:354:20: warning: ‘ppd_file_t* ppdOpenFile(const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
354 | ppd = ppdOpenFile(getenv("PPD"));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/pdftoraster.cxx:358:20: warning: ‘void ppdMarkDefaults(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
358 | ppdMarkDefaults(ppd);
| ~~~~~~~~~~~~~~~^~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/pdftoraster.cxx:362:20: warning: ‘int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
362 | cupsMarkOptions(ppd,num_options,options);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/pdftoraster.cxx:364:27: warning: ‘int cupsRasterInterpretPPD(cups_page_header2_t*, ppd_file_t*, int, cups_option_t*, cups_interpret_cb_t)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
364 | cupsRasterInterpretPPD(&header,ppd,num_options,options,0);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:410:25: note: declared here
410 | extern int cupsRasterInterpretPPD(cups_page_header2_t *h,
| ^~~~~~~~~~~~~~~~~~~~~~
filter/pdftoraster.cxx:365:23: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
365 | attr = ppdFindAttr(ppd,"pdftorasterRenderingIntent",NULL);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftoraster.cxx:385:25: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
385 | attr = ppdFindAttr(ppd,"cupsBackSide",NULL);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftoraster.cxx:393:25: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
393 | attr = ppdFindAttr(ppd,"APDuplexRequiresFlippedMargin",NULL);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftoraster.cxx:443:28: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
443 | if ((attr = ppdFindAttr(ppd,"PWGRaster",0)) != 0 &&
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/pdftoraster.cxx: In function ‘int main(int, char**)’:
filter/pdftoraster.cxx:2132:13: warning: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
2132 | ppdClose(ppd);
| ~~~~~~~~^~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
filter/rastertopdf.cpp: In function ‘void finish_page(pdf_info*)’:
filter/rastertopdf.cpp:864:30: warning: ‘bool QPDFObjectHandle::isInitialized() const’ is deprecated: use operator bool() [-Wdeprecated-declarations]
864 | if(!image.isInitialized()) die("Unable to load image data");
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qpdf/QPDF.hh:42:
/usr/include/qpdf/QPDFObjectHandle.hh:1637:1: note: declared here
1637 | QPDFObjectHandle::isInitialized() const
| ^~~~~~~~~~~~~~~~
filter/rastertopdf.cpp:882:36: warning: ‘bool QPDFObjectHandle::isInitialized() const’ is deprecated: use operator bool() [-Wdeprecated-declarations]
882 | if(!strips[i].isInitialized()) die("Unable to load strip data");
| ~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qpdf/QPDFObjectHandle.hh:1637:1: note: declared here
1637 | QPDFObjectHandle::isInitialized() const
| ^~~~~~~~~~~~~~~~
filter/rastertopdf.cpp: In function ‘int main(int, char**)’:
filter/rastertopdf.cpp:1361:22: warning: ‘ppd_file_t* ppdOpenFile(const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1361 | ppd = ppdOpenFile(getenv("PPD"));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from ./cupsfilters/colormanager.h:41,
from filter/rastertopdf.cpp:36:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
filter/rastertopdf.cpp:1365:22: warning: ‘void ppdMarkDefaults(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1365 | ppdMarkDefaults(ppd);
| ~~~~~~~~~~~~~~~^~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/rastertopdf.cpp:1366:22: warning: ‘int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1366 | cupsMarkOptions(ppd, num_options, options);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
filter/rastertopdf.cpp:1375:28: warning: ‘ppd_status_t ppdLastError(int*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1375 | status = ppdLastError(&linenum);
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/include/cups/ppd.h:404:25: note: declared here
404 | extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~
filter/rastertopdf.cpp:1377:64: warning: ‘const char* ppdErrorString(ppd_status_t)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1377 | fprintf(stderr, "DEBUG: %s on line %d.\n", ppdErrorString(status), linenum);
| ~~~~~~~~~~~~~~^~~~~~~~
/usr/include/cups/ppd.h:399:26: note: declared here
399 | extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~
filter/rastertopdf.cpp:1408:30: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1408 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopdf.cpp:1418:30: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1418 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopdf.cpp:1430:30: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1430 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopdf.cpp:1438:30: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1438 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopdf.cpp:1446:30: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1446 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
filter/rastertopdf.cpp:1466:30: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
1466 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
utils/cups-browsed.c: In function ‘record_printer_options’:
utils/cups-browsed.c:5606:7: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
5606 | } else if ((ppd = ppdOpenFile(ppdname)) == NULL) {
| ^
In file included from utils/cups-browsed.c:123:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
utils/cups-browsed.c:5613:9: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
5613 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
utils/cups-browsed.c:5614:9: warning: ‘ppdFirstOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
5614 | for (ppd_opt = ppdFirstOption(ppd); ppd_opt;
| ^~~
/usr/include/cups/ppd.h:432:26: note: declared here
432 | extern ppd_option_t *ppdFirstOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~
utils/cups-browsed.c:5615:14: warning: ‘ppdNextOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
5615 | ppd_opt = ppdNextOption(ppd))
| ^~~~~~~
/usr/include/cups/ppd.h:434:26: note: declared here
434 | extern ppd_option_t *ppdNextOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~
utils/cups-browsed.c:5623:9: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
5623 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
utils/cups-browsed.c: In function ‘update_cups_queues’:
utils/cups-browsed.c:8635:9: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8635 | if ((ppd = ppdOpenFile(loadedppd)) == NULL) {
| ^~
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
utils/cups-browsed.c:8637:11: warning: ‘ppdLastError’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8637 | ppd_status_t status = ppdLastError(&linenum);
| ^~~~~~~~~~~~
/usr/include/cups/ppd.h:404:25: note: declared here
404 | extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~
utils/cups-browsed.c:8639:24: warning: ‘ppdErrorString’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8639 | loadedppd, ppdErrorString(status), linenum);
| ^~~~~~~~~
/usr/include/cups/ppd.h:399:26: note: declared here
399 | extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~
utils/cups-browsed.c:8646:9: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8646 | ppdMarkDefaults(ppd);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
utils/cups-browsed.c:8647:9: warning: ‘cupsMarkOptions’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8647 | cupsMarkOptions(ppd, p->num_options, p->options);
| ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
utils/cups-browsed.c:8653:11: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8653 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
utils/cups-browsed.c:8664:11: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8664 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
utils/cups-browsed.c:8689:15: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8689 | if ((choice = ppdFindMarkedChoice(ppd, "PageSize")) == NULL)
| ^~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
utils/cups-browsed.c:8690:17: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8690 | choice = ppdFindMarkedChoice(ppd, "PageRegion");
| ^~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
utils/cups-browsed.c:8692:15: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8692 | choice = ppdFindMarkedChoice(ppd, keyword);
| ^~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
378 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
utils/cups-browsed.c:8770:9: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
8770 | ppdClose(ppd);
| ^~~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
utils/cups-browsed.c: In function ‘update_netifs’:
utils/cups-browsed.c:9281:21: warning: ‘__builtin_snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
9281 | "%s", ifa->ifa_name);
| ^
In file included from /usr/include/stdio.h:970,
from /usr/include/resolv.h:58,
from utils/cups-browsed.c:34:
In function ‘snprintf’,
inlined from ‘update_netifs’ at utils/cups-browsed.c:9280:2:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin_snprintf’ output between 1 and 65536 bytes into a destination of size 65535
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from filter/rastertopdf.cpp:27:
In function ‘int fprintf(FILE*, const char*, ...)’,
inlined from ‘int main(int, char**)’ at filter/rastertopdf.cpp:1519:16:
/usr/include/bits/stdio2.h:111:24: warning: ‘profile_name’ may be used uninitialized [-Wmaybe-uninitialized]
111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
filter/rastertopdf.cpp: In function ‘int main(int, char**)’:
filter/rastertopdf.cpp:1316:25: note: ‘profile_name’ was declared here
1316 | const char* profile_name; /* IPP Profile Name */
| ^~~~~~~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/ctype.h:25,
from utils/cups-browsed.c:24:
In function ‘inet_pton’,
inlined from ‘resolve_callback’ at utils/cups-browsed.c:10249:8:
/usr/include/bits/inet-fortified.h:56:10: warning: call to ‘__inet_pton_chk_warn’ declared with attribute warning: inet_pton called with a destination buffer size too small [-Wattribute-warning]
56 | return __glibc_fortify (inet_pton, sz, sizeof (char),
| ^~~~~~~~~~~~~~~
cupsfilters/testcmyk.c: In function ‘test_gray’:
cupsfilters/testcmyk.c:109:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
109 | fgets(line, sizeof(line), in);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilters/testcmyk.c:166:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
166 | fread(input, width, 1, in);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilters/testcmyk.c: In function ‘test_rgb’:
cupsfilters/testcmyk.c:291:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
291 | fgets(line, sizeof(line), in);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilters/testcmyk.c:344:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
344 | fread(input, width, 3, in);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilters/testrgb.c: In function ‘test_gray’:
cupsfilters/testrgb.c:123:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
123 | fgets(line, sizeof(line), in);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilters/testrgb.c:154:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
154 | fread(input, width, 1, in);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilters/testrgb.c: In function ‘test_rgb’:
cupsfilters/testrgb.c:253:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
253 | fgets(line, sizeof(line), in);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilters/testrgb.c:284:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
284 | fread(input, width, 3, in);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
filter/test_pdf1.c: In function ‘main’:
filter/test_pdf1.c:27:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
27 | pdfOut_printf(pdf,"%d 0 obj\n"
| ^~~~~~~~~~~~
......
34 | ,cobj,strlen(buf),buf);
| ~~~~~~~~~~~
| |
| size_t {aka long unsigned int}
filter/test_pdf1.c:28:33: note: format string is defined here
28 | "<