Files
dragonx/src
Homu 61d9c6745a Auto merge of #2545 - bhjortsberg:fixes-for-gcc-7, r=str4d
Fixes for gcc 7

This fixes a few issues when using a newer compiler (in my case gcc 7.1.1) available in for example Arch Linux.
Solves for example this issue: https://github.com/zcash/zcash/issues/2304

The first thing is an error when checking for boost_system and is solved by disabling that warning (wich is treated as an error and, hence, stops the build):

```
configure:22242: checking for exit in -lboost_system-mt
configure:22267: g++ -m64 -o conftest -std=c++11 -pipe -fPIC -O1 -fwrapv -fno-strict-aliasing -Werror -g  -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -fPIE ..<snip>... /x86_64-unknown-linux-gnu/share/../lib conftest.cpp -lboost_system-mt  -lanl  >&5
conftest.cpp:70:6: error: declaration of 'char exit()' conflicts with built-in declaration 'void exit(int)' [-Werror=builtin-declaration-mismatch]
 char exit ();
      ^~~~
cc1plus: all warnings being treated as errors

```

The second thing was to clean some code that is deprecated in C++11 which also lead to a warning treated as error. It could also be fixed with `-Wno-deprecated` but better to fix the issue in my opinion.
2017-09-18 11:45:24 -07:00
..
2015-11-04 23:48:07 +01:00
2017-03-03 10:57:05 -08:00
2016-07-15 19:57:55 -07:00
2017-08-03 18:49:04 +01:00
2017-08-03 16:32:41 +01:00
2016-09-08 21:46:15 -07:00
2016-09-09 00:22:18 -06:00
2016-06-17 00:21:58 +12:00
2015-05-01 11:21:27 +00:00
2016-10-20 00:36:32 +01:00
2017-08-15 19:09:12 +01:00
2017-03-24 09:03:59 +13:00
2017-07-12 16:34:58 -05:00
2017-08-03 16:32:41 +01:00
2017-03-24 09:03:59 +13:00
2016-09-01 11:48:15 +12:00
2014-12-19 19:55:32 +01:00
2017-03-03 10:57:15 -08:00
2017-07-03 08:57:05 +01:00
2015-05-01 11:21:27 +00:00
2017-07-28 10:50:07 +00:00
2017-07-28 10:50:07 +00:00
2017-07-03 08:57:05 +01:00
2017-07-03 08:57:05 +01:00
2014-12-19 19:55:32 +01:00
2016-09-08 12:22:08 +12:00
2017-01-23 17:06:54 +01:00
2017-01-23 17:06:54 +01:00
2017-03-24 09:03:59 +13:00
2017-08-03 16:32:41 +01:00
2017-08-03 16:32:41 +01:00
2017-03-24 09:03:59 +13:00
2017-03-24 09:03:59 +13:00
2017-03-25 17:40:27 +13:00
2015-05-16 17:59:23 -04:00
2017-06-24 19:49:41 +01:00
2017-05-05 11:24:48 -04:00
2014-12-19 19:55:32 +01:00
2016-10-25 19:48:38 +01:00
2017-03-25 20:22:12 +13:00
2016-08-13 11:12:18 -04:00
2017-07-03 08:57:05 +01:00
2016-12-09 16:59:34 +13:00
2014-12-19 19:55:32 +01:00