[LLVMdev] CMake 3.2 warning in Compiler-RT
Stefanus Du Toit
sdt at google.com
Fri May 15 09:04:45 PDT 2015
On Fri, 15 May 2015 at 11:24 Renato Golin <renato.golin at linaro.org> wrote:
> Now that I'm using CMake 3.2.2 to get the "pool = console" Ninja
> feature, I'm seeing this warning:
>
> [...]
> Quoted variables like "HAVE_RPC_XDR_H" will no longer be dereferenced
> when
> [...]
>
> I don't want to suppress it, since the semantics of the expansion is
> different. Is anyone seeing this who knows what the best work around
> is?
The fix should be as simple as changing "if (NOT "${varname}")" to "if (NOT
${varname})" on that line.
> Or is it just a developer's message (as the warning implies) and
> future release versions will work around it automatically?
>
When it says "for project developers", it doesn't mean CMake developers, it
means LLVM developers; that part of the warning is meant for end-users
compiling at home.
Stefanus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150515/8fd87972/attachment.html>
More information about the llvm-dev
mailing list