[Lldb-commits] [PATCH] D32787: Fix build error: no viable conversion from returned value of type 'int' to function return type 'sigset_t' (aka '__sigset_t')
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed May 3 11:46:46 PDT 2017
labath added a comment.
In https://reviews.llvm.org/D32787#744974, @probinson wrote:
> Looking at CMakeError.log, the test program does `#include <poll.h>` but does not `#define _GNU_SOURCE`. The define has to be there for your example to compile on my Ubuntu.
We do that in LLDBGenerateConfig.cmake:7.
However, a previous version of the ppoll patch did not have the correct define. Could it be that you just have stale cmake cache?
More information about the lldb-commits