commit 7cf976f4c5161202bbb2469f90fd0278a84823e2
Author: Eric van Gyzen <eric@vangyzen.net>
Date: Sat May 20 10:06:08 2017 -0500
libthr: Use CLI flags instead of pragmas to disable warnings
People tweaking the build system or compilers tend to look into
the Makefile and not into the source. Having some warning controls
in the Makefile and some in the source code is surprising.
Pragmas have the advantage that they leave the warnings enabled
for more code, but that advantage isn't very relevant in these cases.
Requested by: kib
commit 349c64ef020bf9142e2d7cb570a67d3e79af67da
Author: Eric van Gyzen <eric@vangyzen.net>
Date: Fri May 19 10:14:09 2017 -0500
libthr: use default WARNS level of 6
commit 5b0e584d02b4a3de24f14e5ffe829bf766f1b6aa
Author: Eric van Gyzen <eric@vangyzen.net>
Date: Fri May 19 10:12:22 2017 -0500
Remove old spinlock_debug code from libc
This no longer seems useful. Remove it.
This was prompted by a "cast discards volatile qualifier" warning
in libthr when WARNS=6.
commit 3f6bdee0ec8e3d5f6b59df6e31cfac5283907695
Author: Eric van Gyzen <eric@vangyzen.net>
Date: Fri May 19 08:56:56 2017 -0500
libthr: change CHECK_AND_INIT_RWLOCK to an inline function
This was prompted by a compiler warning about 'ret' shadowing
a local variable in the callers of the macro.
commit ed979a9da9759c62ef56436966a9b414212da073
Author: Eric van Gyzen <eric@vangyzen.net>
Date: Fri May 19 08:29:09 2017 -0500
libthr: disable thread-safety warnings
These warnings don't make sense for code that implements
the locking primitives.