[Poppler-bugs] [Bug 57807] New: Fix warning on deprecated Poppler::Annotation::window
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Dec 2 07:17:16 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=57807
Priority: medium
Bug ID: 57807
Assignee: poppler-bugs at lists.freedesktop.org
Summary: Fix warning on deprecated Poppler::Annotation::window
Severity: normal
Classification: Unclassified
OS: All
Reporter: hib at hiberis.nl
Hardware: Other
Status: NEW
Version: unspecified
Component: qt4 frontend
Product: poppler
Created attachment 70930
--> https://bugs.freedesktop.org/attachment.cgi?id=70930&action=edit
0001-Fix-warning-on-deprecated-Poppler-Annotation-window.patch
The use of Poppler::Annotation::window is deprecated for
external use, but its use cannot be avoided internally
in the class constructor as long as it is not removed
completely. Thus, this patch disables deprecation when
compiling poppler-annotation.cc
Fixes warning:
CXX libpoppler_qt4_la-poppler-annotation.lo
poppler-annotation.cc: In constructor
'Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&)':
poppler-annotation.cc:789:18: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [
-Wdeprecated-declarations]
poppler-annotation.cc:791:5: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [-
Wdeprecated-declarations]
poppler-annotation.cc:791:20: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [
-Wdeprecated-declarations]
poppler-annotation.cc: In constructor
'Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&, const
QDomNode&)':
poppler-annotation.cc:799:18: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [
-Wdeprecated-declarations]
poppler-annotation.cc:803:5: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [-
Wdeprecated-declarations]
poppler-annotation.cc:803:20: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [
-Wdeprecated-declarations]
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20121202/643fabb8/attachment.html>
More information about the Poppler-bugs
mailing list