Wladimir J. van der Laan
35ef3c15ef
Merge #18591 : Add C++17 build to Travis
...
c31cbe7cfefc18123eb85ffb2ce509748435efde Add C++17 test to Travis (Pieter Wuille)
7829685e27aae25efb32e07368175c8f664b2218 Add configure option for c++17 (Pieter Wuille)
0fbde488b24f62b4bbbde216647941dcac65c81a Support conversion between Spans of compatible types (Pieter Wuille)
7cbfebbf3df0d26f518811e0bfb7abf270c83e37 Update ax_cxx_compile_stdcxx.m4 (Pieter Wuille)
Pull request description:
This adds a `--enable-c++17` option to the configure script, fixes the only C++17 incompatibility (with a commit taken from #18468 ), and adds a Travis test for it.
This is all off by default, and release builds remain C++11.
It implements the first step of the plan in https://github.com/bitcoin/bitcoin/issues/16684 .
ACKs for top commit:
elichai:
tACK c31cbe7cfefc18123eb85ffb2ce509748435efde
practicalswift:
Tested ACK c31cbe7cfefc18123eb85ffb2ce509748435efde
hebasto:
ACK c31cbe7cfefc18123eb85ffb2ce509748435efde, tested on Linux Mint 19.3 both C++11 and C++17 modes. Compiled and passed tests locally.
Tree-SHA512: a4b00776dbceef9c12abbb404c6bcd48f7916ce24c8c7a14116355f64e817578b7fcddbedd5ce435322319d1e4de43429b68553f4d96d970c308fe3e3e59b9d1
2020-04-30 11:16:56 +02:00
..
2020-04-29 08:30:15 -04:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2020-01-28 17:00:01 +01:00
2020-04-07 13:57:34 -07:00
2020-04-16 13:33:09 -04:00
2020-04-23 13:59:48 -04:00
2020-01-28 16:59:07 +01:00
2020-04-16 13:33:09 -04:00
2020-04-29 16:32:37 +08:00
2020-01-15 02:18:00 +07:00
2020-04-16 13:33:09 -04:00
2020-04-28 17:15:41 +08:00
2020-04-27 12:23:05 +12:00
2020-04-23 13:59:48 -04:00
2019-03-31 11:41:05 -07:00
2020-04-16 13:33:09 -04:00
2020-04-29 18:54:34 -04:00
2020-02-09 07:44:29 -08:00
2020-04-30 10:45:17 +02:00
2020-04-29 15:23:39 -04:00
2020-04-16 13:33:09 -04:00
2019-10-14 13:24:54 +03:00
2019-12-30 10:42:20 +13:00
2020-01-02 11:05:36 -08:00
2020-04-16 13:33:09 -04:00
2020-03-04 14:24:19 +01:00
2018-12-29 10:15:01 +01:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2018-11-05 17:03:11 +01:00
2019-12-30 10:42:20 +13:00
2020-03-10 09:52:53 -04:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-10-16 08:56:57 -07:00
2019-09-05 13:25:11 +12:00
2020-04-19 10:05:29 +08:00
2020-04-16 13:33:09 -04:00
2019-01-30 16:26:52 -05:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2020-04-20 14:57:48 +00:00
2019-12-30 10:42:20 +13:00
2020-04-17 01:09:39 +02:00
2020-04-17 01:09:39 +02:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-04-03 16:29:26 +02:00
2020-04-16 13:33:09 -04:00
2020-04-21 14:19:15 -04:00
2020-04-22 14:23:56 +02:00
2019-01-23 16:28:27 +08:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2020-04-08 14:45:27 +00:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-01-15 02:18:00 +07:00
2019-02-22 17:38:45 -08:00
2020-04-16 13:33:09 -04:00
2020-01-04 20:18:28 +02:00
2019-12-30 10:42:20 +13:00
2018-11-05 09:25:15 -08:00
2019-03-31 11:41:05 -07:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-04-26 19:57:41 -04:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-04-16 11:08:46 -04:00
2020-04-16 11:08:46 -04:00
2020-04-20 15:32:41 -04:00
2020-04-21 15:06:59 +02:00
2020-01-28 17:01:48 +01:00
2020-01-28 17:01:48 +01:00
2020-04-01 12:49:15 +02:00
2020-04-10 19:38:21 -04:00
2019-11-21 21:13:08 +01:00
2020-04-05 01:01:13 +02:00
2020-04-05 10:46:24 +08:00
2020-04-26 20:25:40 +00:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-01-08 12:35:59 +00:00
2020-04-16 13:33:09 -04:00
2020-04-29 16:32:37 +08:00
2020-04-29 16:32:37 +08:00
2019-10-29 11:30:12 +02:00
2020-03-29 11:45:46 -04:00
2020-04-23 12:54:03 -04:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-01-22 20:20:45 +01:00
2020-01-08 12:35:59 +00:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2020-01-23 16:35:06 -05:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-02-06 13:24:40 +01:00
2020-04-16 13:33:09 -04:00
2020-04-23 13:16:23 +12:00
2019-12-30 10:42:20 +13:00
2020-04-23 13:59:48 -04:00
2020-04-29 16:32:37 +08:00
2020-04-29 16:32:37 +08:00
2020-04-16 13:33:09 -04:00
2019-11-12 14:50:44 -08:00
2020-04-26 20:23:05 -04:00
2020-04-16 13:33:09 -04:00
2020-03-10 09:47:32 -04:00
2020-04-16 13:33:09 -04:00
2020-04-30 11:16:56 +02:00
2019-12-30 10:42:20 +13:00
2020-03-27 08:59:06 -04:00
2020-03-31 08:36:02 -05:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-01-15 02:18:00 +07:00
2019-12-06 10:02:08 +01:00
2020-01-08 12:35:59 +00:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2020-01-15 02:18:00 +07:00
2020-04-29 16:32:37 +08:00
2020-04-23 14:42:25 -07:00
2020-01-15 02:18:00 +07:00
2020-01-15 02:18:00 +07:00
2020-01-23 16:35:08 -05:00
2020-01-23 16:35:08 -05:00
2020-04-16 13:33:09 -04:00
2020-04-29 16:32:37 +08:00
2020-04-23 12:54:06 -04:00
2020-04-07 12:53:40 -07:00
2020-04-04 11:44:39 -04:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00