Compiler more strict on 12 with r320337 ?

Mark Millard markmi at dsl-only.net
Tue Jun 27 07:57:42 UTC 2017


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



More information about the freebsd-current mailing list