Dear developers,
m4 fails to compile on macOS Sierra with GCC:
./sched.h:42:8: error: redefinition of 'struct sched_param'
struct sched_param
^~~
In file included from ./sched.h:27:0,
from ./spawn.h:37,
from execute.c:47:
/usr/include/sched.h:35:
[adding gnulib]
On 09/23/2016 12:38 PM, Denis Davydov wrote:
> Dear developers,
>
> m4 fails to compile on macOS Sierra with GCC:
>
> ./sched.h:42:8: error: redefinition of 'struct sched_param'
> struct sched_param
> ^~~
> In file included from ./sched.h:27:0,
>
Hi Eric,
> On 23 Sep 2016, at 20:19, Denis Davydov wrote:
>
>>
>> Can you look in config.log, and see why configure seems to think that
>> HAVE_STRUCT_SCHED_PARAM was set to 0 on your platform (since it is
>
> it is indeed set to 0. Searching for HAVE_STRUCT_SCHED_PARAM in config.log
> reveals
On 09/23/2016 01:19 PM, Denis Davydov wrote:
> Hi Eric,
>
> Thanks for the swift reply.
>
>>
>> Can you look in config.log, and see why configure seems to think that
>> HAVE_STRUCT_SCHED_PARAM was set to 0 on your platform (since it is
>
> it is indeed set to 0. Searching for HAVE_STRUCT_SCHED_
> On 23 Sep 2016, at 20:43, Eric Blake wrote:
> ./configure ac_cv_type_struct_sched_param=yes
>
> If that works, it is basically telling configure the desired answer to
> the probe (the answer that is not happening due to the unrelated syntax
> error).
>
this worked. Thanks for the help!
p.s.
On 09/23/2016 11:37 AM, Denis Davydov wrote:
/usr/include/pthread_impl.h:32:18: error: missing binary operator
before token "("
#if __has_feature(assume_nonnull)
My guess is that sched.h isn't including sys/cdefs.h as it should on
Darwin. The Darwin guys are not that big on supporting GCC, I
Hi Paul,I adjusted your patch for 1.4.17 but I now havem4-1.4.17/build-aux/missing: line 81: aclocal-1.14: command not foundIt could be that have errors in my version of the patch. Would you please send the patch which applies to 1.4.17or check the one I have attached?Regards,Denis.On 23 Sep 2016,
On 09/23/2016 01:16 PM, Denis Davydov wrote:
Would you please send the patch which applies to 1.4.17
Something like the attached, perhaps?
--- configure 2013-09-21 23:38:28.0 -0700
+++ configure.new 2016-09-23 13:23:48.591707322 -0700
@@ -28724,7 +28724,7 @@
cat confdefs.h - <<_A
Yes, this patch also fix the problem.
It looks like your guess about the source of the problem is correct.
I probably should find a way how to report it to Apple...
p.s. attached is a p1 version
> On 23 Sep 2016, at 22:26, Paul Eggert wrote:
>
> On 09/23/2016 01:16 PM, Denis Davydov wrote:
>>
On 09/23/2016 03:16 PM, Denis Davydov wrote:
> Hi Paul,
>
> I adjusted your patch for 1.4.17 but I now have
>
> m4-1.4.17/build-aux/missing: line 81: aclocal-1.14: command not found
Do you have autotools installed on your machine? If so, 'autoreconf
-vfi' should clear up that issue.
But your pa
10 matches
Mail list logo