Hello, On pc Debian x86-64 testing updated today with poppler git updated today, I noticed these console logs during building: poppler-page.cc: In static member function 'static Poppler::Link* Poppler::PageData::convertLinkActionToLink(LinkAction*, Poppler::DocumentData*, const QRectF&)': poppler-page.cc:77:10: warning: enumeration value 'actionOCGState' not handled in switch [-Wswitch] poppler-annotation.cc: In constructor 'Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&)': poppler-annotation.cc:854:18: warning: 'Poppler::Annotation::window' is deprecated (declared at poppler-annotation.h:375) [-Wdeprecated-declarations] poppler-annotation.cc:856:5: warning: 'Poppler::Annotation::window' is deprecated (declared at poppler-annotation.h:375) [-Wdeprecated-declarations] poppler-annotation.cc:856:20: warning: 'Poppler::Annotation::window' is deprecated (declared at poppler-annotation.h:375) [-Wdeprecated-declarations] poppler-annotation.cc: In constructor 'Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&, const QDomNode&)': poppler-annotation.cc:864:18: warning: 'Poppler::Annotation::window' is deprecated (declared at poppler-annotation.h:375) [-Wdeprecated-declarations] poppler-annotation.cc:868:5: warning: 'Poppler::Annotation::window' is deprecated (declared at poppler-annotation.h:375) [-Wdeprecated-declarations] poppler-annotation.cc:868:20: warning: 'Poppler::Annotation::window' is deprecated (declared at poppler-annotation.h:375) [-Wdeprecated-declarations] poppler-annotation.cc: In member function 'virtual void Poppler::LinkAnnotation::store(QDomNode&, QDomDocument&) const': poppler-annotation.cc:3653:15: warning: enumeration value 'JavaScript' not handled in switch [-Wswitch] gcc (Debian 4.7.3-4) 4.7.3 ldd (Debian EGLIBC 2.17-7) 2.17
And?
And it builds but perhaps these cases should be dealt. If not, feel free to close the bug, it was just a suggestion.
Yes the cases should be dealt, do you have a patch to deal with them? Otherwise this patch says nothing we already knew since these warnings have been here forever.
s/Otherwise this patch/Otherwise this bug
I don't have a patch which could really solve them and not only silent them. My only purpose was to pinpoint these warnings. Following your answers, let's not waste more time about this.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.