[Bug go/81451] missing futex check - libgo/runtime/thread-linux.c:12:0 futex.h:13:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘long’
ian at airs dot com
gcc-bugzilla@gcc.gnu.org
Sat Jul 15 15:40:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81451
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
There does seem to be something wrong with your linux/futex.h, which is much
shorter than the one on my system. But it is also true that the file where the
error occurs no longer needs to #include <linux/futex.h>. You should just
remove the #include and carry on. I'll commit a more comprehensive fix to
mainline.
More information about the Gcc-bugs
mailing list