Open efernandez opened 10 years ago
Pull request against hydro-devel branch. Closed #6
Sorry for the noise
I think std::hash
is also C++11 / tr1 only. Maybe there is a way to disable -ftrapv
instead for the hashing code block?
Yes, it's C++11.
I'll have to check how to disable -ftrapv
in my environment (I have to check where was the problem exactly).
I don't know how we can do it in a general way (if something sets it).
With some flags, the program fails because of the integer operations. Furthermore, it looks reasonable to use the STL hash function, unless there's some reason to use the other.