waf -v clutter

Eric S. Raymond esr at thyrsus.com
Sun Nov 26 01:07:49 UTC 2017

Hal Murray <hmurray at megapathdsl.net>:
> More poking around...  Remember, I don't really grok waf.
> The call to write_config_header has a suspicious looking argument.  So I 
> tried it.
> -    ctx.write_config_header("config.h", remove=False)
> +    ctx.write_config_header("config.h", remove=True)
> config.h looks reasonable.  waf -v is much less cluttered.
> Any reason I shouldn't commit if it survives serious testing?

Don't see one.  Judging by the documentation it should be safe.

> There are still a a few python symbols I don't understand.
> [82/95] Compiling ntpd/ntpd.c
> 13:24:10 ^[[35mrunner^[[0m ['/usr/lib64/ccache/gcc', '-fstack-protector-all', 
> '-Wshadow', '-Wpacked', '-Wcast-qual', '-Wmissing-declarations', 
> '-Wdisabled-optimization', '-Wimplicit-function-declaration', 
> '-Winvalid-pch', '-Wpointer-arith', '-Wwrite-strings', '-Winit-self', 
> '-Wfloat-equal', '-Wformat', '-Wformat-signedness', '-Wformat-security', 
> '-Wsuggest-attribute=noreturn', '-fPIC', '-O1', '-Wall', '-Wextra', 
> '-Wmissing-prototypes', '-Wstrict-prototypes', '-Wundef', '-Wunused', 
> '-std=c99', '-D_GNU_SOURCE', '-I../host/ntpd', '-I../../ntpd', '-I..', 
> '-I../../include', '-DPYTHONDIR="/usr/local/lib/python2.7/site-packages"', 
> '-DPYTHONARCHDIR="/usr/local/lib64/python2.7/site-packages"', 
> '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '../../ntpd/ntpd.c', '-c', 
> '-o/home/murray/ntpsec/play/build/main/ntpd/ntpd.c.3.o']

What's mysterious here?
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.

More information about the devel mailing list