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") namespace gnulib { static int (*select) (int, fd_set *, fd_set *, fd_set *, struct timeval *) = ::select; } extern "C" int _gl_cxxalias_dummy;
                                  ^

compilation aborted for pp.c (code 2)

On 10/03/2016 01:57, Paul Eggert wrote:
On 03/09/2016 01:11 PM, Balázs Hajgató wrote:
../libgnu/sys/select.h(598): error: declaration is incompatible with previous "select" (declared at line 109 of "/usr/include/sys/select.h")

In what way are the declarations incompatible? Use the compiler's -E flag to find out.


--
HPC/VSC Support and System Administration
Computing Center
ULB/VUB
Avenue Adolphe Byullaan, 91 - CP 197
1050 Brussels
Belgium


Reply via email to