get it from https://github.com/AbsInt/CompCert
use it like: ../configure CC="ccomp -std=c11 -fstruct-passing -flongdouble" --disable-bindings --disable-werror
-Werror,-Wc11-extensions: anonymous structs/unions are a C11 extension
include/dwg.h:9640
We really should stay c99 compatible
get it from https://github.com/AbsInt/CompCert use it like:
../configure CC="ccomp -std=c11 -fstruct-passing -flongdouble" --disable-bindings --disable-werror
-Werror,-Wc11-extensions: anonymous structs/unions are a C11 extension include/dwg.h:9640 We really should stay c99 compatible
error: use of undeclared identifier
__FUNCTION__
dwg_api.h:32: warning: "
__attribute_deprecated__
" redefineddwg.h:8071: warning: unknown pragma ignored [-Wunknown-pragmas]
/common.c:502: error: unsupported feature: function parameter of struct or union type (consider adding option [-fstruct-passing])