[Poppler-bugs] [Bug 57807] Fix warning on deprecated Poppler::Annotation::window
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Dec 5 11:29:30 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=57807
--- Comment #1 from Adam Reichold <adamreichold at myopera.com> ---
Hello Hib,
I am not sure whether it is good style to work the solution of this
implementation problem into a public header. At least for GCC 4.6 and later, it
should be possible to resolve this locally using e.g.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
Annotation::Annotation( AnnotationPrivate &dd, const QDomNode &annNode )
: d_ptr( &dd )
{
[...]
}
#pragma GCC diagnostic pop
Not sure what is worse, putting it into the headers or using a solution that
only works for a single compiler. :-(
--
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/20121205/22a76af8/attachment.html>
More information about the Poppler-bugs
mailing list