[llvm-dev] compiler-rt builtins on MSVC 2019

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 4 14:30:12 PDT 2019


I was working through a few other VS 2019 build issues today, and I'll
remove that include soon. Thanks for the heads up.

On Thu, Apr 4, 2019 at 8:37 AM Andreas Jonson via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> removed the ymath.h and it works with 2019 also,
>
> see now that the doc say float.h or math.h is needed
>
> so remove the ymath.h shall be enough
>
>
>
> BR//Andreas
>
>
>
> *Från: *David Major <dmajor at mozilla.com>
> *Skickat: *den 4 april 2019 16:46
> *Till: *Andreas Jonson <andjo403 at hotmail.com>
> *Kopia: *llvm-dev at lists.llvm.org
> *Ämne: *Re: [llvm-dev] compiler-rt builtins on MSVC 2019
>
>
>
> Since that file already includes float.h, I wonder whether the ymath.h
> is needed at all. I tried removing it on my MSVC 2017 machine and the
> build didn't complain. Could you try the same with 2019?
>
> On Thu, Apr 4, 2019 at 10:12 AM Andreas Jonson via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> >
> > Hi,
> >
> >
> >
> > compiler-rt builtins currently doesn't build on MSVC 2019,
> >
> > I the problem is that compiler-rt\lib\builtins\int_math.h includes the
> header ymath.h.
> >
> > according to eg.
> https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/finite-finitef?view=vs-2019
> the header to include is float.h
> >
> > also the ymath.h file contains the comment /* ymath.h internal header */
> so probably shall not be used.
> >
> >
> >
> > I do not know how compiler-rt works only tried to compile rustc that is
> using compiler-rt
> >
> > How shall I go forward with this problem?
> >
> >
> >
> > BR/Andreas Jonson
> >
> >
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > llvm-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190404/3f351f3c/attachment.html>


More information about the llvm-dev mailing list