This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/81451] missing futex check - libgo/runtime/thread-linux.c:12:0 futex.h:13:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘long’


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]