bug-gnulib
[Top][All Lists]
Advanced

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

Re: compiler error on macOS Siera with address@hidden


From: Tom G. Christensen
Subject: Re: compiler error on macOS Siera with address@hidden
Date: Mon, 17 Oct 2016 16:38:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 25/09/16 06:16, Paul Eggert wrote:
I attempted to fix the problem by installing the attached patch into
gnulib master. I can't easily test this, though, as I don't have macOS.

The patch did not include the substitution of HAVE_SYS_CDEFS_H needed when creating sched.h.

Below is from a CentOS 5 host:

make[4]: Entering directory `/home/tgc/tmp/daily_build/gnulib/000-gnulib-simple-59aa69f/gllib'
depbase=`echo glthread/cond.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -DGNULIB_STRICT_CHECKING=1 -fvisibility=hidden -g -O2 -MT glthread/cond.o -MD -MP -MF $depbase.Tpo -c -o glthread/cond.o glthread/cond.c &&\
        mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/pthread.h:24,
                 from ./glthread/lock.h:90,
                 from ./glthread/cond.h:56,
                 from glthread/cond.c:23:
./sched.h:27:6: error: token "@" is not valid in preprocessor expressions

$ sed -n '27p' gllib/sched.h
# if @HAVE_SYS_CDEFS_H@

-tgc



reply via email to

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