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__`" redefined

dwg.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])
compcert compat
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : compcert compat
Issue date:

--- start body ---
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__`" redefined

dwg.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])
--- end body ---
