[Xapian-tickets] [Xapian] #393: Consider disabling deprecation warnings when building xapian-core
Xapian
nobody at xapian.org
Wed Aug 5 15:00:24 BST 2009
#393: Consider disabling deprecation warnings when building xapian-core
--------------------------+-------------------------------------------------
Reporter: james | Owner: olly
Type: task | Status: new
Priority: normal | Milestone:
Component: Build system | Version:
Severity: normal | Blockedby:
Platform: All | Blocking:
--------------------------+-------------------------------------------------
It was reported that Xapian 1.0.14 failed to build in maintainer mode on
Mac OS X with recent XCode toolchains because of a deprecation warning on
a constructor; when building that constructor, the warning apparently is
emitted differently by the XCode gcc build than other warnings, and due to
maintainer mode is promoted to an error.
Xapian's own deprecation warnings are unnecessary when building xapian-
core itself, since then don't actually mean anything in that context.
We should either disable deprecation warnings when building xapian-core
(but obviously retain them when building *against* xapian-core), or have a
reason why we aren't doing that. One possible reason is that disabling the
warning makes it harder for us to detect internal use of deprecated
methods and functions in future.
--
Ticket URL: <http://trac.xapian.org/ticket/393>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list