[PATCH] D60043: [FileCheck] Fix FileCheck.cpp compilation on Solaris

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 2 02:00:34 PDT 2019


ro added a comment.

In D60043#1449930 <https://reviews.llvm.org/D60043#1449930>, @jdenny wrote:

>




> Would including <cmath> and instead calling std::log10 avoid the problem without the explicit cast?

This works just as well.  The revised patch has been tested as before on `i386-pc-solaris2.11` and `sparc-sun-solaris2.11`.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60043/new/

https://reviews.llvm.org/D60043





More information about the llvm-commits mailing list