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

Common Interface for Reporting Errors and Warnings #1

Open
Samuel-Tyler opened this issue Jun 2, 2019 · 0 comments
Open

Common Interface for Reporting Errors and Warnings #1

Samuel-Tyler opened this issue Jun 2, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@Samuel-Tyler
Copy link
Owner

Currently errors and warnings are reported via the use of std::runtime_error and std::cerr.

A function that would allow reporting warnings and errors in a common way would be much tidier.

Adding filename / line number info to assignment definitions may also help with this.

Acceptance:

  • Common method to report errors exists
  • Current cerr / runtime_error failures are replaced with new mechanism
@Samuel-Tyler Samuel-Tyler added the enhancement New feature or request label Jun 2, 2019
@Samuel-Tyler Samuel-Tyler changed the title Make a common interface for reporting errors and warnings during compilation Common Interface for Reporting Errors and Warnings Jun 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant