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?

http://people.freebsd.org/~pi/logs/lfcbase.txt

says:

/bin/sh ../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I..  
-O3     -O2 -pipe -fstack-protector -fno-strict-aliasing -MT Net.lo -MD -MP -MF 
.deps/Net.Tpo -c -o Net.lo Net.cc


and: 

c++ --version

says:

FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 
4.0.0)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin

-- 
p...@opsec.eu            +49 171 3101372                         3 years to go !
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to