Skip to content

Commit 2545283

Browse files
GaryWLanoopcs9
authored andcommitted
Enable clang 20 cast-qual warnings
Now that pam_wrapper has been upgraded to 1.1.8, it compiles without cast-qual warnings. So lets re-enable the warnings. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Anoop C S <anoopcs@samba.org> Autobuild-User(master): Anoop C S <anoopcs@samba.org> Autobuild-Date(master): Wed Jun 18 06:26:53 UTC 2025 on atb-devel-224
1 parent a0a2dd5 commit 2545283

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

buildtools/wafsamba/samba_autoconf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,6 @@ def SAMBA_CONFIG_H(conf, path=None):
843843
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Werror -Wno-error=deprecated-declarations', testflags=True)
844844
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=tautological-compare', testflags=True)
845845
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=cast-align', testflags=True)
846-
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=cast-qual', testflags=True)
847846

848847
if Options.options.fatal_errors:
849848
conf.ADD_CFLAGS('-Wfatal-errors', testflags=True)

0 commit comments

Comments
 (0)