-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/embed: add ELF type conversion functions
Converts the pointers in the ELF embedder state structure to a pointer to a lone ELF structure type. Fixes gcc build errors because unsigned char * cannot be converted implicitly to the structure types. Both GCC and clang reject this code as invalid when compiled in my laptop and in GitHub actions. The clang provided by Termux doesn't complain though. Weird...
- Loading branch information
1 parent
c2edb94
commit 62a141a
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters