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

Fix the error reporting problem of runcmd function during compilation… #219

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

Conversation

jintongxu
Copy link

When I enter make qemu to compile, an error in the runcmd function will be displayed, as shown in the following figure:
1
My solution: add attribute((noreturn)) above runcmd in user/sh.c.
Increased compilation effect, successfully entered the terminal after compilation
2

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.

None yet

1 participant