jubatus / jubatus_core

Jubatus algorithm component
GNU Lesser General Public License v2.1
20 stars 29 forks source link

Fix compile error in gcc-6.0 and above #369

Closed kazuki closed 7 years ago

kazuki commented 7 years ago

https://gcc.gnu.org/gcc-6/changes.html The default mode for C++ is now -std=gnu++14 instead of -std=gnu++98

Fixed #368

kmaehashi commented 7 years ago

:+1: Thanks!

Using devtoolset-6-gcc-c++-6.3.1-3.1.el7.x86_64 on RHEL 7, I confirmed that build and all unit tests success with this patch.

% g++ --version
g++ (GCC) 6.3.1 20170216 (Red Hat 6.3.1-3)