bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intel 2016.1.150 compilation problems


From: Balázs Hajgató
Subject: Re: Intel 2016.1.150 compilation problems
Date: Sun, 13 Mar 2016 08:50:31 +0100

I am not much of a programmer, so I do not know what am I doing, so this is the part around line 109 in /usr/include/sys/select.h
extern "C" {








 

extern int select (int __nfds, fd_set *__restrict __readfds,
  fd_set *__restrict __writefds,
  fd_set *__restrict __exceptfds,
  struct timeval *__restrict __timeout);







 

extern int pselect (int __nfds, fd_set *__restrict __readfds,
    fd_set *__restrict __writefds,
    fd_set *__restrict __exceptfds,
    const struct timespec *__restrict __timeout,
    const __sigset_t *__restrict __sigmask);


}

And line 109 being:
extern int select .... 

Intel compilers 2015 can compile without error, but 2016 versions (both update 1 & 2) gives this problem. It might be an Intel compiler problem as well.

On 13 Mar 2016, at 08:12, Paul Eggert <address@hidden> wrote:

Balázs Hajgató wrote:
I have used the -E flag, the preprocess went fine. When I try to compile the
preprocessed code I got the following error:
../libgnu/sys/select.h(599): error: declaration is incompatible with previous
"select" (declared at line 109 of "/usr/include/sys/select.h")

What is the declaration at line 109 of "/usr/include/sys/select.h", after preprocessing, and how does that compare to the declaration you mentioned below?

  namespace gnulib { static int (*select) (int, fd_set *, fd_set *, fd_set *,
struct timeval *) = ::select; } extern "C" int _gl_cxxalias_dummy;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]