Re: no pointer sign warnings

2017-01-24 Thread Theo de Raadt
Perhaps. Also my position remains that our tree should not avoid -Werror. It is unmanageable with the number of architectures we support. > clang complains about pointer sign changes The most simple fix > would be to disable the warning for clang. > > Example from librthread: > > /home/patrick

no pointer sign warnings

2017-01-24 Thread Patrick Wildt
Hi, clang complains about pointer sign changes The most simple fix would be to disable the warning for clang. Example from librthread: /home/patrick/openbsd-src/lib/librthread/rthread_sem.c:316:13: error: passing 'const char *' to parameter of type 'const u_int8_t *' (aka 'const unsigned char