Merge lp://staging/~jbicha/onboard/build-with-gcc-6 into lp://staging/onboard
Status: | Merged |
---|---|
Merged at revision: | 2154 |
Proposed branch: | lp://staging/~jbicha/onboard/build-with-gcc-6 |
Merge into: | lp://staging/onboard |
Diff against target: |
12 lines (+1/-1) 1 file modified
Onboard/pypredict/lm/lm_dynamic_cached.h (+1/-1) |
To merge this branch: | bzr merge lp://staging/~jbicha/onboard/build-with-gcc-6 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
marmuta | Approve | ||
Review via email:
|
Description of the change
onboard FTBFS with gcc-6. You can see a (somewhat old) build failure here:
Onboard/
static const double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights
Onboard/
Onboard/
Onboard/
Onboard/
Debian unstable is planning to switch to GCC by default within the next month and to ship the next version of Debian without support for earlier GCC versions.
https:/
You can test-build with the new gcc by adding this to debian/rules:
export CC=gcc-6
export CXX=g++-6
and add g++-6 to your Build-Depends.
Anyway, here's a patch from Arch that fixes this issue.
Thanks for patch and instructions. I'll merge this and then try to get rid of the warning with C++98.