Compiler more strict on 12 with r320337 ?

Kurt Jaeger lists at opsec.eu
Tue Jun 27 06:31:11 UTC 2017


Hi!

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.

Should sys/socketvar.h be included at all ?

-- 
pi at FreeBSD.org         +49 171 3101372                3 years to go !


More information about the freebsd-current mailing list