Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compcert compat #858

Open
rurban opened this issue Oct 27, 2023 · 1 comment
Open

compcert compat #858

rurban opened this issue Oct 27, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@rurban
Copy link
Contributor

rurban commented Oct 27, 2023

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])

@rurban rurban self-assigned this Oct 30, 2023
@rurban rurban added the enhancement New feature or request label Oct 30, 2023
@rurban
Copy link
Contributor Author

rurban commented Oct 30, 2023

TODO: I need a proper editor with multi-line regex search-replace. emacs does not. multiedit pro could do that in ancient times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant