Bug 67428 - Warnings during building
Summary: Warnings during building
Status: RESOLVED INVALID
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-28 06:13 UTC by Julien Nabet
Modified: 2013-07-28 15:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Julien Nabet 2013-07-28 06:13:43 UTC
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
Comment 1 Albert Astals Cid 2013-07-28 14:14:45 UTC
And?
Comment 2 Julien Nabet 2013-07-28 14:31:01 UTC
And it builds but perhaps these cases should be dealt.
If not, feel free to close the bug, it was just a suggestion.
Comment 3 Albert Astals Cid 2013-07-28 14:48:39 UTC
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.
Comment 4 Albert Astals Cid 2013-07-28 14:48:51 UTC
s/Otherwise this patch/Otherwise this bug
Comment 5 Julien Nabet 2013-07-28 15:52:28 UTC
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.