Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Build failed #2

Closed
userlandkernel opened this issue Nov 26, 2019 · 2 comments
Closed

Build failed #2

userlandkernel opened this issue Nov 26, 2019 · 2 comments

Comments

@userlandkernel
Copy link

When building ktrw_gdb_stub I get the following warning (treated as error):

error: using extended field designator is an extension [-Werror,-Wextended-offsetof]

I solved it by adding the following CFLAGS in the Makefile:
-Wno-unknown-warning-option -Wno-invalid-offsetof -Wno-extended-offsetof

@bazad
Copy link
Contributor

bazad commented Nov 26, 2019

Interesting, I don’t see any build errors on my system; what macOS version and clang version are you using? And where is the error in the source?

@bazad
Copy link
Contributor

bazad commented Dec 21, 2019

Closing since I can’t reproduce the issue.

@bazad bazad closed this as completed Dec 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants