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

Replace -fplan9-extensions with -fms-extensions for compiler compatibility #271

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vowstar
Copy link

@vowstar vowstar commented Jun 18, 2024

To maintain compatibility with both GCC and Clang, the -fplan9-extensions flag is replaced with -fms-extensions in the Makefile. This change supports anonymous structs and unions, ensuring the same functionality across both compilers. Clang does not currently support -fplan9-extensions, at least there are no results yet.

See also: https://reviews.llvm.org/D3853
See also: 162507e
Bug: vowstar/vowstar-overlay#19

…ility

To maintain compatibility with both GCC and Clang, the `-fplan9-extensions`
flag is replaced with `-fms-extensions` in the Makefile. This change supports
anonymous structs and unions, ensuring the same functionality across both
compilers. Clang does not currently support `-fplan9-extensions`, at least
there are no results yet.

See also: https://reviews.llvm.org/D3853
See also: NVIDIA@162507e
Bug: vowstar/vowstar-overlay#19

Signed-off-by: Huang Rui <[email protected]>
vowstar added a commit to vowstar/vowstar-overlay that referenced this pull request Jun 18, 2024
@elezar elezar requested a review from klueska July 1, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants