According to the blame output, this is from r70792. I'm building on Arch Linux 
and the cmake flags are based on the PKGBUILD from the AUR:
```
cmake  -DBRLCAD_BUILD_STATIC_LIBS=OFF \
        -DBRLCAD_ENABLE_OPENGL=ON -DBRLCAD_BUNDLED_LIBS=BUNDLED 
-DBRLCAD_FREETYPE=OFF \
        -DBRLCAD_PNG=OFF -DBRLCAD_REGEX=OFF -DBRLCAD_ZLIB=OFF 
-DBRLCAD_ENABLE_QT=OFF ../..
```

Log:
```
[ 43%] Building C object 
src/librt/CMakeFiles/librt-obj.dir/primitives/bot/gct_decimation/auxiliary/mmbinsort.c.o
In file included from 
/home/rain/Sync/gsoc/brlcad-code/src/librt/primitives/bot/gct_decimation/auxiliary/mm.h:40:0,
                 from 
/home/rain/Sync/gsoc/brlcad-code/src/librt/primitives/bot/gct_decimation/auxiliary/mmbinsort.c:41:
/home/rain/Sync/gsoc/brlcad-code/src/librt/primitives/bot/gct_decimation/auxiliary/mmthread.h:52:8:
 error: redefinition of ‘struct timespec’
 struct timespec {
        ^~~~~~~~
In file included from /usr/include/sched.h:32:0,
                 from /usr/include/pthread.h:23,
                 from /home/rain/Sync/gsoc/brlcad-code/include/bu/tc.h:42,
                 from 
/home/rain/Sync/gsoc/brlcad-code/src/librt/primitives/bot/gct_decimation/auxiliary/mmthread.h:46,
                 from 
/home/rain/Sync/gsoc/brlcad-code/src/librt/primitives/bot/gct_decimation/auxiliary/mm.h:40,
                 from 
/home/rain/Sync/gsoc/brlcad-code/src/librt/primitives/bot/gct_decimation/auxiliary/mmbinsort.c:41:
/usr/include/bits/types/struct_timespec.h:8:8: note: originally defined here
 struct timespec
        ^~~~~~~~
cc1: error: unrecognized command line option ‘-Wno-c11-extensions’ [-Werror]
```

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to