These are chat archives for boostorg/hana

29th
Jun 2016
Jason Rice
@ricejasonf
Jun 29 2016 00:22
For reasons I can't explain example.functional.fix explodes with c++1z because it says the recursion depth is > 256. not so with c++14
Louis Dionne
@ldionne
Jun 29 2016 00:24
Nice. Well, I guess that’s another bug to report. They seem to have broken quite a few things lately.
Jason Rice
@ricejasonf
Jun 29 2016 00:25
It could be because I am still using libstdc++ 5.1 (I think) and for some reason the c++1z version is instantiating more templates internally or something. idk
Louis Dionne
@ldionne
Jun 29 2016 00:38
I doubt it, because hana::fix does not really use the standard library at all. It only uses std::remove_reference and std::remove_cv, but I don’t think these are the offenders.
Jason Rice
@ricejasonf
Jun 29 2016 01:09
I get the same error when I try to compile metabench but not on my laptop which has libc++. idk why
Louis Dionne
@ldionne
Jun 29 2016 01:12
That’s weird. Doesn’t the instantiation trace make it obvious what the problem is?
Jason Rice
@ricejasonf
Jun 29 2016 01:14
not really but I should probably double check
it might be because make_index does not use the intrinsic
Louis Dionne
@ldionne
Jun 29 2016 01:17
For hana::fix I don’t see why, as it does not use make_index_sequence at all.
Jason Rice
@ricejasonf
Jun 29 2016 02:55
Does that target compile for you with -std=c++1z on trunk?
Oh.. It compiles when I use my clang 3.8 build so there is definitely something there.
Louis Dionne
@ldionne
Jun 29 2016 03:09
No, it does not compile with -std=c++1z and Clang trunk.