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

Mimick common GNU tools as much as reasonable (specifically gcc) #66

Open
1 of 5 tasks
ped7g opened this issue Aug 11, 2019 · 1 comment
Open
1 of 5 tasks

Mimick common GNU tools as much as reasonable (specifically gcc) #66

ped7g opened this issue Aug 11, 2019 · 1 comment
Labels
enhancement help wanted input from new users needed, or simple-enough tasks for new contributors
Milestone

Comments

@ped7g
Copy link
Collaborator

ped7g commented Aug 11, 2019

  • research the current trend in error reporting by gcc/clang, copycat the format
  • extend the internal error reporting API, try to see if it's possible to introduce also fix suggestions/etc
  • research current command line options of gcc/clang, copy syntax for the reasonably identical ones (include paths, version, help, warnings/errors, stdin/stdout piping (v1.x is already doing it correctly?), input/output files, exports, etc...
  • test with tools supporting gcc/clang, how much they recover from the sjasmplus output and what is confusing them
  • check predefined macro symbols like __FILE__ and __LINE__, etc... (https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html)
@ped7g ped7g added this to the v2.x milestone Aug 11, 2019
ped7g added a commit that referenced this issue Jul 9, 2020
In this commit:
__DATE__, __TIME__, __PASS__, __SJASMPLUS__, __VERSION__, __ERRORS__,
__WARNINGS__
ped7g added a commit that referenced this issue Jul 10, 2020
… ones

New predefineds in this commit:
__INCLUDE_LEVEL__, __BASE_FILE__, __FILE__, __LINE__, __COUNTER__
@ped7g
Copy link
Collaborator Author

ped7g commented Dec 5, 2020

done: some warnings have now "id" which can be used to enable/disable them with -W option. The command line form is using the same syntax as gcc.

(the warning output is actually modified, including the "id" in brackets after "warning" - needs checking with common tools, if they are still capable to parse such warnings correctly)

@ped7g ped7g added the help wanted input from new users needed, or simple-enough tasks for new contributors label Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted input from new users needed, or simple-enough tasks for new contributors
Projects
None yet
Development

No branches or pull requests

1 participant