waf checking - fail on warnings?

Hal Murray hmurray at megapathdsl.net
Tue Aug 27 18:14:37 UTC 2019


Matthew.Selsky at twosigma.com said:
> And you want to pass "-Werror" (I'm not certain how off the top of my head)
> to the compiler so that warnings are fatal. waf sees the compiler exit zero
> with or without warnings, so they look the same. 

I put it into ctx.env.CFLAGS, then restored CFLAGS back to the original after 
running the test.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list