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

[Feature Request] - if possible, terminal/console should report errors when compiled program cannot run. #1479

Open
sortofsleepy opened this issue Sep 25, 2024 · 0 comments
Labels
Enhancement Request New feature or request Help Wanted! Community help would be great!

Comments

@sortofsleepy
Copy link

👋

Ran into an unexpected issue the other day, which I've already mostly documented here in #1476

But TLDR'

  • Started making a console based application to get acquainted with the language.
  • Ran into an issue where a missing .dll was causing my application to fail upon starting.
    • No exit codes, no errors, nothing
    • Only output I was getting was the launch message (after running clean-run)
  • Compared things with a console app built from a CLion C console app template.
    • For some reason, I got a pop up error from Windows stating that a .dll was missing which ended up solving my original problem.

I should note that in the CLion test project, I was using the IDE to build/launch the program instead of doing things on the command line. I only got the error message when running things through the IDE. When trying to run the built executable from the command line, I saw the same behavior like in the C3 version.

I don't know what CLion is doing behind the scenes but given that I was seeing the same behavior from both programs when running from the command line, it feels like my original issue is probably expected behavior so I wouldn't consider this a super high priority issue.

That said, it'd be nice if it were possible to add some kind of error message or at the very least, an exit code.

@lerno lerno added Enhancement Request New feature or request Help Wanted! Community help would be great! labels Sep 25, 2024
@lerno lerno added this to the First release (v1.0) milestone Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request New feature or request Help Wanted! Community help would be great!
Projects
None yet
Development

No branches or pull requests

2 participants