1
0
Fork
You've already forked x48
0

WIP: fixed clang error "debugger.c:1031:3: error: non-void function 'get_stack' should return a value" #7

Closed
azimonti wants to merge 2 commits from legacy into legacy
pull from: legacy
merge into: gwh:legacy
azimonti commented 2023年12月28日 03:00:26 +01:00 (Migrated from github.com)
Copy link

debugger.c:1031:3: error: non-void function 'get_stack' should return a value [-Wreturn-type]
1031 | return;
| ^
2 warnings and 1 error generated.
make[2]: *** [debugger.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Fixed compilation error with clang

clang --version

Homebrew clang version 17.0.6
Target: x86_64-apple-darwin23.2.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin

debugger.c:1031:3: error: non-void function 'get_stack' should return a value [-Wreturn-type] 1031 | return; | ^ 2 warnings and 1 error generated. make[2]: *** [debugger.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Fixed compilation error with clang ---------------- clang --version ---------------- Homebrew clang version 17.0.6 Target: x86_64-apple-darwin23.2.0 Thread model: posix InstalledDir: /usr/local/opt/llvm/bin

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gwh/x48!7
Reference in a new issue
gwh/x48
No description provided.
Delete branch "legacy"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?