Re: Compiler more strict on 12 with r320337 ?

From: Ngie Cooper (yaneurabeya) <"Ngie>
Date: Tue, 27 Jun 2017 01:15:28 -0700
> 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

Received on Tue Jun 27 2017 - 06:15:31 UTC

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