Re: epoll_create1() available in C, not C++ (on alpha)?

2012-01-11 Thread Michael Cree
On 05/01/12 17:52, Steve M. Robbins wrote: Hi, By private mail, I got the suggestion that maybe Alpha's epoll.h lacks extern C; I diff'd the two files and that's not the case. Steve, thanks for caring enough about Alpha to follow that one up. I had noted the absence of the epoll_create1

epoll_create1() available in C, not C++ (on alpha)?

2012-01-04 Thread Steve M. Robbins
Howdy, I'm investigating #653441, a build failure that exists only for Alpha. The C++ code in question uses epoll_create1(). I've boiled it down to the following test code: #include sys/epoll.h int main(int ac, char* av[]) { int fd = epoll_create1(0); return 0; } This can

Re: epoll_create1() available in C, not C++ (on alpha)?

2012-01-04 Thread Steve M. Robbins
Hi, By private mail, I got the suggestion that maybe Alpha's epoll.h lacks extern C; I diff'd the two files and that's not the case. However, I did find the following: On Alpha: /* Same as epoll_create but with an additional FLAGS parameter. */ extern int epoll_create2 (int __size, int