[Xapian-tickets] [Xapian] #768: Compilation issue with with --std=gnu++17
Xapian
nobody at xapian.org
Mon Sep 10 23:38:47 BST 2018
#768: Compilation issue with with --std=gnu++17
--------------------------+--------------------------
Reporter: stac47 | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Build system | Version: 1.4.5
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
--------------------------+--------------------------
Changes (by olly):
* component: Other => Build system
Comment:
This definitely needs addressing, but is there a good reason to be
compiling the library itself with `--std=gnu++17` at this point?
The external API headers should work fine with `--std=gnu++17`, and so you
should be able to compile the library using GCC 8.2.0 with its default C++
dialect, and then use it in an application you compile with
`--std=gnu++17`.
(And even if/when a future GCC switches to C++17 by default, using
`--std=gnu++14` or `--std=gnu++11` should still work for compiling the
library).
--
Ticket URL: <https://trac.xapian.org/ticket/768#comment:1>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list