Boost wiki - revised Boost guidance for authors on Warnings - RFC

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Boost wiki - revised Boost guidance for authors on Warnings - RFC

Boost - Users mailing list
As promised at the end of a long (hijacked!) thread on 'Warnings'

http://boost.2283326.n4.nabble.com/Current-Guidance-on-Compiler-Warnings-td4706165.html

starting from a query by Brian Kuhl of Wind River on Boost's policy on compiler warnings, I have spent some time revising the
previous guidance document on Trac that I edited many years ago.

This was a long and tedious task as Markdown, as most conveniently used on Github, is rather different from the mark-up language on
Trac, leaving me slightly in fumble mode :-(

I have made some updates en passant, but there is still much to do updating for the much improved granularity of warning suppression
and perhaps more about other code improvement tools like Lint, UBSan.

The overall structure leaves a lot to be desired, but I don't want to put any more work into this without some encouragement that it
will prove useful.

I have posted the result of my efforts on

https://github.com/boostorg/boost/wiki/Guidelines:-Warnings

and I am as promised I am starting this new thread on warning for your comments, corrections, condemnations etc.

HTH

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830



_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|

Re: Boost wiki - revised Boost guidance for authors on Warnings - RFC

Boost - Users mailing list

On Tue, Jan 8, 2019, 18:20 Paul A. Bristow via Boost-users <[hidden email] wrote:
<...>
I have posted the result of my efforts on

https://github.com/boostorg/boost/wiki/Guidelines:-Warnings

and I am as promised I am starting this new thread on warning for your comments, corrections, condemnations etc.

Please add a "quick guide for the impatient" that describes the policies shortly, without any motivations.

Also please add a notes on the boost build feature <warnings-as-errors>on (you can find its description somewhere  here https://boostorg.github.io/build/tutorial.html )

While describing the UBSAN beware of its issues: blacklists are a little bit broken https://bugs.llvm.org/show_bug.cgi?id=40132 and errors will be silently ignored without -fno-sanitize-recover=undefined

_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users