[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] Testing C++14 mode in libc++
From:       Larisse Voufo <lvoufo () google ! com>
Date:       2015-02-23 19:10:10
Message-ID: CAKB+xA-W9LZjOKnF5i_UHsqy+QBydLJ5uHDtUSkJp5hc4Fmkeg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Roger. Thanks.


On Fri, Feb 20, 2015 at 2:50 PM, Justin Bogner <mail@justinbogner.com>
wrote:

> Larisse Voufo <lvoufo@google.com> writes:
> > On Fri, Feb 20, 2015 at 11:46 AM, Eric Fiselier <eric@efcs.ca> wrote:
> >
> >     What compiler are you using?
> >
> > clang 3.7 (trunk).
> >
> >
> >     >However, I can't help but think that they ought to be a way to
> >     systematically test this mode (without messing with lit.site.cfg)
> before
> >     shipping it off... to the buildbots...
> >
> >     see: http://libcxx.llvm.org/lit_usage.html
> >
> > Thanks. Looks like
> >
> > $lit --param std=c++1y ...
> >
> > works but
> >
> > $lit --param std=c++14 ...
> >
> > does not, with "error: invalid value 'c++14' in '-std=c++14'".
>
> IIRC you need to set --param cxx_under_test=/path/to/clang or these
> tests will run with your system compiler. If you're getting invalid
> value 'c++14', the clang you're using is not trunk (definitely pre-3.6).
>

[Attachment #5 (text/html)]

<div dir="ltr">Roger. Thanks.<div><br></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Fri, Feb 20, 2015 at 2:50 PM, Justin Bogner <span \
dir="ltr">&lt;<a href="mailto:mail@justinbogner.com" \
target="_blank">mail@justinbogner.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">Larisse Voufo &lt;<a \
href="mailto:lvoufo@google.com">lvoufo@google.com</a>&gt; writes:<br> &gt; On Fri, \
Feb 20, 2015 at 11:46 AM, Eric Fiselier &lt;<a \
href="mailto:eric@efcs.ca">eric@efcs.ca</a>&gt; wrote:<br> &gt;<br>
&gt;        What compiler are you using?<br>
&gt;<br>
&gt; clang 3.7 (trunk).<br>
&gt;<br>
&gt;<br>
&gt;        &gt;However, I can&#39;t help but think that they ought to be a way \
to<br> &gt;        systematically test this mode (without messing with lit.site.cfg) \
before<br> &gt;        shipping it off... to the buildbots...<br>
&gt;<br>
&gt;        see: <a href="http://libcxx.llvm.org/lit_usage.html" \
target="_blank">http://libcxx.llvm.org/lit_usage.html</a><br> &gt;<br>
&gt; Thanks. Looks like<br>
&gt;<br>
&gt; $lit --param std=c++1y ...<br>
&gt;<br>
&gt; works but<br>
&gt;<br>
&gt; $lit --param std=c++14 ...<br>
&gt;<br>
&gt; does not, with &quot;error: invalid value &#39;c++14&#39; in \
&#39;-std=c++14&#39;&quot;.<br> <br>
</span>IIRC you need to set --param cxx_under_test=/path/to/clang or these<br>
tests will run with your system compiler. If you&#39;re getting invalid<br>
value &#39;c++14&#39;, the clang you&#39;re using is not trunk (definitely \
pre-3.6).<br> </blockquote></div><br></div>



_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic