-
Notifications
You must be signed in to change notification settings - Fork 38
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
6 errors #5
Comments
GCC 4.2.1 does not report this as an error in base OpenBSD. As more programs and ports are linted and eventually switched over to clang, the code will be changed. It's up to Ibara if he wants to diverge from the original OpenBSD source to accommodate these being reported as errors. I can prepare a pull request if you want. |
Yes please. Note: GCC does not report the errors because it does not make clang's extensive audit. The errors are still there, whether GCC reports them or not. |
#6 addresses this issue. |
Patches for exec.c Results of compilation and comparison
How to use oksh as default shell (MacOS) Go to System Preferences -> Users & Groups |
hey @hdatma, when I get some time I can review these and create another pull request with these changes, but please be aware that most of openbsd isn't using C99 as a standard, most utils are still using ANSI C or C89 as the base. I think that we should fix errors/warnings (I think these reported are valid) that are discovered by clang, but while adhering to the standards (-std=c89 or -ansi) added to your compile will show errors/issues while not introducing code that could be troublesome to compile on platforms that don't have a C99+ compiler handy. Thanks! |
#6 fixes all issues mentioned above in the patch.zip |
Hey! OpenBSD is on track to replace gcc with clang. The two previous releases removed obsolete architectures on purpose, and the next release is said to include clang along with gcc. |
I think we can close this issue, as all errors have been cleared with patches. |
Closed. |
The text was updated successfully, but these errors were encountered: