Re: Compiler more strict on 12 with r320337 ?

From: Mark Millard <markmi_at_dsl-only.net>
Date: Tue, 27 Jun 2017 00:57:37 -0700
Kurt Jaeger lists at opsec.eu  wrote on
Tue Jun 27 06:31:11 UTC 2017 :

> Compiling devel/lfcbase, it fails while including sys/socketvar.h with
> this error:
> 
> In file included from Net.cc:36:
> /usr/include/sys/socketvar.h:117:4: error: types cannot be declared in an
>       anonymous struct
>                         enum {
>                         ^
> 1 error generated.

The rejected syntax in socketvar.h was added in -r319722 :

To: revision 319722 by glebius, Thu Jun 8 21:30:34 2017 UTC
From: revision 319641 by glebius, Wed Jun 7 01:48:11 2017 UTC

and so is fairly recent. So if that is more recent than
the most recent compile that worked for you then it may
not be a compiler change at all.

===
Mark Millard
markmi at dsl-only.net
Received on Tue Jun 27 2017 - 05:57:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC