=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for xpp-1.5nb30 /usr/pkg/bin/fluid -c mainwindow.fl clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -I. -I. -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -O2 -D_IPP_PRIVATE_STRUCTURES -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c passworddialog.cxx clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -I. -I. -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -O2 -D_IPP_PRIVATE_STRUCTURES -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c xpp.cxx clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -I. -I. -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -O2 -D_IPP_PRIVATE_STRUCTURES -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c cupshelper.cxx clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -I. -I. -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -O2 -D_IPP_PRIVATE_STRUCTURES -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c xppmain.cxx clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -I. -I. -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -O2 -D_IPP_PRIVATE_STRUCTURES -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c inputslider.cxx clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -I. -I. -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -O2 -D_IPP_PRIVATE_STRUCTURES -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c mainwindow.cxx passworddialog.cxx:34:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = fl_input("%s\nLogin:",login,prompt)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ passworddialog.cxx:34:11: note: place parentheses around the assignment to silence this warning if (str = fl_input("%s\nLogin:",login,prompt)) { ^ ( ) passworddialog.cxx:34:11: note: use '==' to turn this assignment into an equality comparison if (str = fl_input("%s\nLogin:",login,prompt)) { ^ == 1 warning generated. cupshelper.cxx:102:17: warning: 'httpConnect' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] http_t *HTTP = httpConnect(host_,port_); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/http.h:457:57: note: 'httpConnect' has been explicitly marked deprecated here extern http_t *httpConnect(const char *host, int port) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:203:59: note: expanded from macro '_CUPS_DEPRECATED_1_7_MSG' # define _CUPS_DEPRECATED_1_7_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ cupshelper.cxx:121:17: warning: 'httpConnect' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] http_t *HTTP = httpConnect(host_,port_); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/http.h:457:57: note: 'httpConnect' has been explicitly marked deprecated here extern http_t *httpConnect(const char *host, int port) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:203:59: note: expanded from macro '_CUPS_DEPRECATED_1_7_MSG' # define _CUPS_DEPRECATED_1_7_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ 2 warnings generated. In file included from xppmain.cxx:34: In file included from ./mainwindow.h:10: In file included from ./xpp.h:44: /data/scratch/print/xpp/work/.buildlink/include/FL/Fl_Scroll.H:108:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct { ^ ScrollInfo /data/scratch/print/xpp/work/.buildlink/include/FL/Fl_Scroll.H:110:5: note: type is not C-compatible due to this member declaration typedef struct { int x,y,w,h; } Fl_Region_XYWH; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/print/xpp/work/.buildlink/include/FL/Fl_Scroll.H:134:5: note: type is given name 'ScrollInfo' for linkage purposes by this typedef declaration } ScrollInfo; ^ In file included from xppmain.cxx:34: ./mainwindow.h:12:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~~~~~~~~~~~~~ xppmain.cxx:35:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. In file included from mainwindow.cxx:3: In file included from ./mainwindow.h:10: In file included from ./xpp.h:44: /data/scratch/print/xpp/work/.buildlink/include/FL/Fl_Scroll.H:108:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct { ^ ScrollInfo /data/scratch/print/xpp/work/.buildlink/include/FL/Fl_Scroll.H:110:5: note: type is not C-compatible due to this member declaration typedef struct { int x,y,w,h; } Fl_Region_XYWH; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/print/xpp/work/.buildlink/include/FL/Fl_Scroll.H:134:5: note: type is given name 'ScrollInfo' for linkage purposes by this typedef declaration } ScrollInfo; ^ In file included from xpp.cxx:33: In file included from ./xpp.h:44: /data/scratch/print/xpp/work/.buildlink/include/FL/Fl_Scroll.H:108:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct { ^ ScrollInfo /data/scratch/print/xpp/work/.buildlink/include/FL/Fl_Scroll.H:110:5: note: type is not C-compatible due to this member declaration typedef struct { int x,y,w,h; } Fl_Region_XYWH; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/print/xpp/work/.buildlink/include/FL/Fl_Scroll.H:134:5: note: type is given name 'ScrollInfo' for linkage purposes by this typedef declaration } ScrollInfo; ^ In file included from mainwindow.cxx:3: ./mainwindow.h:12:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~~~~~~~~~~~~~ mainwindow.cxx:749:1: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(print->ppds[print->dest_pos]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ mainwindow.cxx:750:1: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(print->ppds[print->dest_pos],print->num_changed_options,print->changed_options); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:362:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ mainwindow.cxx:769:1: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(print->ppds[print->dest_pos]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ mainwindow.cxx:770:1: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(print->ppds[print->dest_pos],print->dests[print->dest_pos].num_options,print->dests[print->dest_pos].options); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:362:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ mainwindow.cxx:821:1: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(print->ppds[print->dest_pos]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ mainwindow.cxx:822:1: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(print->ppds[print->dest_pos],print->num_changed_options,print->changed_options); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:362:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ mainwindow.cxx:914:8: warning: 'fl_ask' is deprecated [-Wdeprecated-declarations] if (!fl_ask(buffer)) return; ^ /data/scratch/print/xpp/work/.buildlink/include/FL/fl_ask.H:55:82: note: 'fl_ask' has been explicitly marked deprecated here FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); ^ mainwindow.cxx:914:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!fl_ask(buffer)) return; ^~~~~~ mainwindow.cxx:914:15: note: treat the string as an argument to avoid this if (!fl_ask(buffer)) return; ^ "%s", xpp.cxx:496:23: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] const char* str = cupsGetPPD(dests[dest_pos].name); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:358:49: note: 'cupsGetPPD' has been explicitly marked deprecated here extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:498:19: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppds[dest_pos] = ppdOpenFile(str); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:389:54: note: 'ppdOpenFile' has been explicitly marked deprecated here extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:551:5: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppds[dest_pos]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:mainwindow.cxx:1064:11: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] str = cupsGetPPD(print->dests[print->dest_pos].name); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:358:49: note: 'cupsGetPPD' has been explicitly marked deprecated here extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ mainwindow.cxx:1066:40: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] print->ppds[print->dest_pos] = ppdOpenFile(str); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:389:54: note: 'ppdOpenFile' has been explicitly marked deprecated here extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ mainwindow.cxx552:5: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(ppds[dest_pos],dests[dest_pos].num_options, ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:362:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:555:9: warning: 'ppdConflicts' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (ppdConflicts(ppds[dest_pos])) { ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:367:43: note: 'ppdConflicts' has been explicitly marked deprecated here extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:655:16: warning: 'cupsTempFile' is deprecated: Use cupsTempFd or cupsTempFile2 instead. [-Wdeprecated-declarations] temp = fopen(cupsTempFile(tempfile, sizeof(tempfile)), "w"); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/cups.h:352:53: note: 'cupsTempFile' has been explicitly marked deprecated here extern char *cupsTempFile(char *filename, int len) _CUPS_DEPRECATED_MSG("Use cupsTempFd or cupsTempFile2 instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:200:55: note: expanded from macro '_CUPS_DEPRECATED_MSG' # define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:746:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = cupsGetOption("job-sheets",num_changed_options, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:746:11: note: place parentheses around the assignment to silence this warning if (s = cupsGetOption("job-sheets",num_changed_options, ^ ( xpp.cxx:746:11: note: use '==' to turn this assignment into an equality comparison if (s = cupsGetOption("job-sheets",num_changed_options, ^ == xpp.cxx:907:19: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((filename = cupsGetPPD(dests[dest_pos].name)) == NULL) return(0); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:358:49: note: 'cupsGetPPD' has been explicitly marked deprecated here extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:930:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (line_contents = strstr(line,"*% COMDATA #")) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:930:23: note: place parentheses around the assignment to silence this warning if (line_contents = strstr(line,"*% COMDATA #")) { ^ ( ) xpp.cxx:930:23: note: use '==' to turn this assignment into an equality comparison if (line_contents = strstr(line,"*% COMDATA #")) { ^ == xpp.cxx:1134:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (line_contents = strstr(line,"*FoomaticRIP")) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1134:30: note: place parentheses around the assignment to silence this warning } else if (line_contents = strstr(line,"*FoomaticRIP")) { ^ ( ) xpp.cxx:1134:30: note: use '==' to turn this assignment into an equality comparison } else if (line_contents = strstr(line,"*FoomaticRIP")) { ^ == xpp.cxx:1138:58: warning: format specifies type 'char *' but the argument has type 'char (*)[1024]' [-Wformat] if (sscanf(line_contents, "Option %40[^: ]: %19s", &argname, ~~~~~~~ ^~~~~~~~ xpp.cxx:1139:4: warning: format specifies type 'char *' but the argument has type 'char (*)[20]' [-Wformat] &typestr) == 2) { ^~~~~~~~ xpp.cxx:1170:37: warning: format specifies type 'char *' but the argument has type 'char (*)[1024]' [-Wformat] "OptionRange %40[^: ]: %lf %lf", &argname, &min, &max) ~~~~~~~ ^~~~~~~~ xpp.cxx:1180:31: warning: format specifies type 'char *' but the argument has type 'char (*)[1024]' [-Wformat] "Default%40[^: ]: %1023s", &argname, &defstr) ~~~~~~~ ^~~~~~~~ xpp.cxx:1180:41: warning: format specifies type 'char *' but the argument has type 'char (*)[1024]' [-Wformat] "Default%40[^: ]: %1023s", &argname, &defstr) ~~~~~~ ^~~~~~~ xpp.cxx:1084:4: warning: 'strncpy' size argument is too large; destination buffer has size 128, but size argument is 1023 [-Wfortify-source] strncpy(numbuffer, defstr, 1023); ^ xpp.cxx:1282:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"PageSize"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1285:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"InputSlot"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1288:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"MediaType"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1291:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"EFMediaQualityMode"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1294:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"ManualFeed"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1300:23: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!(ppdoption = ppdFindOption(ppds[dest_pos],"Duplex"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1301:25: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!(ppdoption = ppdFindOption(ppds[dest_pos],"EFDuplex"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1302:21: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdoption = ppdFindOption(ppds[dest_pos],"KD03Duplex"); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1325:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"Resolution"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1328:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"SetResolution"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1331:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"JCLResolution"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1334:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"CNRes_PGP"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1340:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"OutputBin"))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1346:22: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],option[k]))) ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:381:19: note: 'ppdFindOption' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ :1074:7: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(print->ppds[print->dest_pos]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ mainwindow.cxx:1076:7: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(print->ppds[print->dest_pos],print->dests[print->dest_pos].num_options,print->dests[print->dest_pos].options); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:362:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1448:24: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppd_choice_t *ch = ppdFindMarkedChoice(ppds[dest_pos],"PageSize"); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:379:25: note: 'ppdFindMarkedChoice' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1450:16: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] pagesize = ppdPageSize(ppds[dest_pos],(str ? str : "Letter")); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:393:17: note: 'ppdPageSize' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1471:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = cupsGetOption("media",num_changed_options,changed_options)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1471:11: note: place parentheses around the assignment to silence this warning if (str = cupsGetOption("media",num_changed_options,changed_options)) { ^ ( ) xpp.cxx:1471:11: note: use '==' to turn this assignment into an equality comparison if (str = cupsGetOption("media",num_changed_options,changed_options)) { ^ == xpp.cxx:1482:14: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] sz = ppdPageSize(ppds[dest_pos],c); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:393:17: note: 'ppdPageSize' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1510:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = cupsGetOption("PageSize",num_changed_options,changed_options)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1510:11: note: place parentheses around the assignment to silence this warning if (str = cupsGetOption("PageSize",num_changed_options,changed_options)) { ^ ( ) xpp.cxx:1510:11: note: use '==' to turn this assignment into an equality comparison if (str = cupsGetOption("PageSize",num_changed_options,changed_options)) { ^ == xpp.cxx:1513:30: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (ppds[dest_pos]) sz = ppdPageSize(ppds[dest_pos],str); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:393:17: note: 'ppdPageSize' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:1533:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = getOptionValue("orientation-requested")) orientation = atoi(str); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1533:11: note: place parentheses around the assignment to silence this warning if (str = getOptionValue("orientation-requested")) orientation = atoi(str); ^ ( ) xpp.cxx:1533:11: note: use '==' to turn this assignment into an equality comparison if (str = getOptionValue("orientation-requested")) orientation = atoi(str); ^ == xpp.cxx:1549:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = (getOptionValue("page-top"))) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1549:11: note: place parentheses around the assignment to silence this warning if (val = (getOptionValue("page-top"))) { ^ ( ) xpp.cxx:1549:11: note: use '==' to turn this assignment into an equality comparison if (val = (getOptionValue("page-top"))) { ^ == xpp.cxx:1553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = (getOptionValue("page-bottom"))) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1553:11: note: place parentheses around the assignment to silence this warning if (val = (getOptionValue("page-bottom"))) { ^ ( ) xpp.cxx:1553:11: note: use '==' to turn this assignment into an equality comparison if (val = (getOptionValue("page-bottom"))) { ^ == xpp.cxx:1557:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = (getOptionValue("page-left"))) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1557:11: note: place parentheses around the assignment to silence this warning if (val = (getOptionValue("page-left"))) { ^ ( ) xpp.cxx:1557:11: note: use '==' to turn this assignment into an equality comparison if (val = (getOptionValue("page-left"))) { ^ == xpp.cxx:1561:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = (getOptionValue("page-right"))) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1561:11: note: place parentheses around the assignment to silence this warning if (val = (getOptionValue("page-right"))) { ^ ( ) xpp.cxx:1561:11: note: use '==' to turn this assignment into an equality comparison if (val = (getOptionValue("page-right"))) { ^ == xpp.cxx:1577:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xpp.cxx:2110:5: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppds[dest_pos]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:2112:5: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(ppds[dest_pos],num_changed_options,changed_options); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:362:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:2159:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (arg == NULL) arg = ""; else {*arg = '\0'; arg ++; } ^ xpp.cxx:2255:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (arg == NULL) arg = ""; else {*arg = '\0'; arg ++; } ^ xpp.cxx:2372:12: warning: 'fl_ask' is deprecated [-Wdeprecated-declarations] if (!fl_ask("Do you really want to overwrite the default instance of \"%s\"?",dests[dest_index].name)) { ^ /data/scratch/print/xpp/work/.buildlink/include/FL/fl_ask.H:55:82: note: 'fl_ask' has been explicitly marked deprecated here FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); ^ xpp.cxx:2383:12: warning: 'fl_ask' is deprecated [-Wdeprecated-declarations] if (!fl_ask("The instance \"%s\" for the queue \"%s\" already exists, do you want to overwrite it?",new_name,dests[dest_index].name)) { ^ /data/scratch/print/xpp/work/.buildlink/include/FL/fl_ask.H:55:82: note: 'fl_ask' has been explicitly marked deprecated here FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); ^ xpp.cxx:2549:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppds[new_index]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:2550:3: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(ppds[new_index], ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:362:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:2610:5: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppds[dest_index]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:2611:5: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(ppds[dest_index], ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:362:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:2625:33: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (ppds[dest_index] != NULL) ppdClose(ppds[dest_index]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:364:40: note: 'ppdClose' has been explicitly marked deprecated here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:2696:26: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (ppds[i] != NULL) ppdClose(ppds[i]); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/ppd.h:364:40: note: 'ppdClose' has been explicitly marked deprecated here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /data/scratch/print/xpp/work/.buildlink/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ 14 warnings generated. 55 warnings generated. clang++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -O2 -D_IPP_PRIVATE_STRUCTURES -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o xpp mainwindow.o passworddialog.o cupshelper.o xpp.o xppmain.o inputslider.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lfltk_images -lpng -lz -ljpeg -lfltk -lXrender -lXcursor -lXfixes -lXext -lXft -lfontconfig -lXinerama -lpthread -lm -lX11 -lGLU -lGL -lXext -lX11 /usr/bin/ld: cannot find -lXcursor clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [Makefile:193: xpp] Error 1 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/print/xpp *** Error code 1 Stop. make: stopped in /data/pkgsrc/print/xpp