Home
last modified time | relevance | path

Searched hist:"0 b2f3f20583595d0007fdfc8218fb4da4b999c49" (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libthr/thread/
H A Dthr_symbols.cdiff 0b2f3f20583595d0007fdfc8218fb4da4b999c49 Sat May 20 19:33:47 CEST 2017 Eric van Gyzen <vangyzen@FreeBSD.org> 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
Reviewed by: kib
MFC after: 3 days
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D10832
/freebsd/lib/libthr/
H A DMakefilediff 0b2f3f20583595d0007fdfc8218fb4da4b999c49 Sat May 20 19:33:47 CEST 2017 Eric van Gyzen <vangyzen@FreeBSD.org> 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
Reviewed by: kib
MFC after: 3 days
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D10832