gcc-6 is c++14 by default, and hammer does not like it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hey cephers,

just a heads up, for those who are using the bleeding edge
compiler[1], hammer does not compile by default.

i took a while to figure it out tonight. and seems the packaged
liboost is now compiled using gcc6 with C++14 enabled, so the headers
are found, but the source does not link with some libboost libraries
if you pass 'CXXFLAGS=-std=c++98' to configure. and moreover, seems
libstdc++ does not play well with hammer, i didn't root cause this.

at last, i cowardly used gcc-5 to compile hammer.

---
[1] https://gcc.gnu.org/gcc-6/changes.html

-- 
Regards
Kefu Chai
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux