1
0
Fork
You've already forked x48
0

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

Merged
azimonti merged 1 commit from fix_get_stack into legacy 2023年12月29日 12:50:23 +01:00
azimonti commented 2023年12月28日 08:12:10 +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 ```
Owner
Copy link

Thank you. I fixed it in x48ng but forgot to backport the change here.

Thank you. I fixed it in x48ng but forgot to backport the change here.
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
2 participants
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!8
Reference in a new issue
gwh/x48
No description provided.
Delete branch "fix_get_stack"

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?