Page MenuHomeFreeBSD

sh(1): bump WARNS

Authored by trasz on Wed, Mar 25, 3:37 PM.



Bump WARNS for sh(1). Tinderbox suggests sh(1) builds fine without
those two lines.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

trasz created this revision.Wed, Mar 25, 3:37 PM
jilles accepted this revision.Wed, Mar 25, 5:57 PM

Fine with me, assuming it still builds with recent GCC as well.

I think this is possible thanks to the removal of GCC 4.2.1, which had warnings related to setjmp and vfork that were unreasonable to fix.

This revision is now accepted and ready to land.Wed, Mar 25, 5:57 PM
trasz added a comment.Thu, Mar 26, 6:44 PM

The warnings are still there with GCC 9, but they don't break the build due to -Wno-error=clobbered.

This revision was automatically updated to reflect the committed changes.