Open dvs23 opened 6 years ago
I am having the same problem on ubuntu 18.04. Did you solve it? If yes, Could you share the solution?
No, I didn't find a better solution that just adding the stuct above to bs.cpp in line 12 - but it seems to work with that :)
It worked here. It was compiled with many warnings. Thanks.
Amazing, you saved me, thank you so much!
Encountered a similar error today on 3 flavor of linux (Arch/ubuntu/gentoo) all with more or less latest GCC, only difference is that the incriminated file was glib-core/bd.cpp . The same dirty trick on glib-core/bd.h allowed to compile. This is happening on both 4.0 and 4.1 (haven't tested others)
On arch linux, I'm unable to compile - neither the 4.0 release from the website nor a fresh clone from github. Relevant part of the "make all" output:
If you add the following in bp.cpp:12
(copied from http://man7.org/linux/man-pages/man3/matherr.3.html)
it seems to compile. Quick and dirty hack, so I'm not sure if it breaks anything else...
Compiler: gcc (GCC) 8.1.0 glibc: ldd (GNU libc) 2.27 Arch Linux: 4.16.10-1-ARCH