Compiler more strict on 12 with r320337 ?

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Tue Jun 27 08:15:31 UTC 2017


> On Jun 26, 2017, at 23:31, Kurt Jaeger <lists at opsec.eu> wrote:
> 
> 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 ?

Hi Kurt,
	What compiler/CFLAGS (in particular, -std=<foo>) are you using to compile devel/lfcbase?
Thanks!
-Ngie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170627/4dd121cc/attachment.sig>


More information about the freebsd-current mailing list