Le 08/01/2016 22:39, Georg Baum a écrit :
Jean-Marc Lasgouttes wrote:
The following patch fixes compilation for me with clang and libc++ (with
autotools I set CXX="clang++ --stdlib=libc++").
This is a workaround to https://llvm.org/bugs/show_bug.cgi?id=24137
to be fixed in 3.7.1 or 3.8.0.
Can someone confirm that adding the default constructor like that is
harmless?
It is to my knowledge. It might even fix a subtle problem with older MSVC:
http://stackoverflow.com/questions/3931312/value-initialization-and-non-pod-types/3931589#3931589
THanks Georg. I put it in.
JMarc