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 -- pi_at_opsec.eu +49 171 3101372 3 years to go !Received on Tue Jun 27 2017 - 09:20:11 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC