Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

cgo-gcc-prolog:94:2: warning: ‘cupsGetPPD3’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] #473

Open
rickrich opened this issue Nov 24, 2019 · 2 comments

Comments

@rickrich
Copy link

rickrich commented Nov 24, 2019

$ go get -insecure -u github.com/google/cloud-print-connector/...
# github.com/google/cloud-print-connector/cups
cgo-gcc-prolog: In function ‘_cgo_174ba0cb753c_Cfunc_cupsGetPPD3’:
cgo-gcc-prolog:94:2: warning: ‘cupsGetPPD3’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
In file included from src/github.com/google/cloud-print-connector/cups/cups.h:15,
from src/github.com/google/cloud-print-connector/cups/core.go:14:
/usr/include/cups/ppd.h:369:22: note: declared here
369 | extern http_status_t cupsGetPPD3(http_t *http, const char *name, time_t *modtime, char *buffer, size_t bufsize) _PPD_DEPRECATED;
| ^~~~~~~~~~~

@RobertDWhite
Copy link

Same issue here

@braindef
Copy link

same issue here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants