Thanks.<br><br><div>-eric</div><br><div class="gmail_quote">On Thu Oct 30 2014 at 12:52:11 PM Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually it looks to me like this is a dead include.  The cpp file is not actually using anything from <codecvt> to begin with.  I'm going to just delete the #incldue line and check it in.<br><br><div class="gmail_quote">On Thu Oct 30 2014 at 12:46:37 PM Zachary Turner <<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That's what I thought at first too, but his command line indicates that it's using clang.  Either way, we shouldn't be using codecvt for the reasons you mention.  Is this a change that can be reverted until this gets sorted out?  LLVM has support for converting between UTF8, UTF16, and I believe UTF32, so that should probably be used instead.<br><br><div class="gmail_quote">On Thu Oct 30 2014 at 12:40:07 PM Shawn Best <<a href="mailto:sbest@blueshiftinc.com" target="_blank">sbest@blueshiftinc.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>I have not synced to top of tree
      recently, but if a recent checkin had a line like:<br>
      <br>
      #include <codecvt><br>
      <br>
      it would break linux, or any build using gcc.  This is a cutting
      edge c++ 11 feature that is not implemented on all platforms. 
      Refer to the discussion on <a href="http://reviews.llvm.org/D5835" target="_blank">http://reviews.llvm.org/D5835</a>
      and also recent lldb-dev thread about the Editline Rewrite</div></div><div bgcolor="#FFFFFF" text="#000000"><div><br>
      <br>
      <br>
      On 10/30/2014 11:52 AM, Doug Snyder wrote:<br>
    </div></div><div bgcolor="#FFFFFF" text="#000000">
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_quote">
          <div dir="ltr"><br>
          </div>
          <div dir="ltr">i'm getting the following error when i try to
            build ToT on Ubuntu:
            <div><br>
            </div>
            <div>
              <div>[2409/2884] Building CXX object
tools/lldb/source/<u></u>DataFormatters/CMakeFiles/<u></u>lldbDataFormatters.dir/<u></u>StringPrinter.cpp.o</div>
              <div>FAILED: /usr/bin/ccache  clang++ -Qunused-arguments
                -fcolor-diagnostics  -DGTEST_HAS_RTTI=0 -DHAVE_ROUND
                -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
                -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC
                -fvisibility-inlines-hidden -Wall -W
                -Wno-unused-parameter -Wwrite-strings
                -Wmissing-field-initializers -pedantic -Wno-long-long
                -Wcovered-switch-default -std=c++11 -fcolor-diagnostics
                -ffunction-sections -fdata-sections
                -Wno-deprecated-declarations -Wno-unknown-pragmas
                -Wno-deprecated-register  -fno-exceptions -fno-rtti
                -fPIC -O3 -DNDEBUG -Itools/lldb/source/<u></u>DataFormatters
                -I/home/dsnyder/tot/llvm/<u></u>tools/lldb/source/<u></u>DataFormatters
                -I/home/dsnyder/tot/llvm/<u></u>tools/lldb/include
                -Itools/lldb/include -Iinclude
                -I/home/dsnyder/tot/llvm/<u></u>include
                -I/usr/include/python2.7
                -I/usr/include/x86_64-linux-<u></u>gnu/python2.7
                -I/home/dsnyder/tot/llvm/<u></u>tools/lldb/../clang/include
                -Itools/lldb/../clang/include
                -I/home/dsnyder/tot/llvm/<u></u>tools/lldb/source/.
                -I/home/dsnyder/tot/llvm/<u></u>tools/lldb/source/Plugins/<u></u>Process/Linux
                -I/home/dsnyder/tot/llvm/<u></u>tools/lldb/source/Plugins/<u></u>Process/POSIX
                   -fno-exceptions -fno-rtti -MMD -MT
                tools/lldb/source/<u></u>DataFormatters/CMakeFiles/<u></u>lldbDataFormatters.dir/<u></u>StringPrinter.cpp.o
                -MF
                "tools/lldb/source/<u></u>DataFormatters/CMakeFiles/<u></u>lldbDataFormatters.dir/<u></u>StringPrinter.cpp.o.d"
                -o
                tools/lldb/source/<u></u>DataFormatters/CMakeFiles/<u></u>lldbDataFormatters.dir/<u></u>StringPrinter.cpp.o
                -c
/home/dsnyder/tot/llvm/tools/<u></u>lldb/source/DataFormatters/<u></u>StringPrinter.cpp</div>
              <div>/home/dsnyder/tot/llvm/tools/<u></u>lldb/source/DataFormatters/<u></u>StringPrinter.cpp:19:10:
                fatal error: 'codecvt' file not found</div>
              <div>#include <codecvt></div>
              <div>         ^</div>
              <div>1 error generated.</div>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>is anyone else seeing this?</div>
            <div>i wasn't having this problem yesterday</div>
            <div><br>
            </div>
            <div>thanks,</div>
            <div>doug</div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>______________________________<u></u>_________________
lldb-dev mailing list
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a>
</pre>
    </blockquote>
    <br>
  </div>

______________________________<u></u><u></u>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailm<u></u>an/listinfo/lldb-dev</a><br>
</blockquote></div></blockquote></div>
______________________________<u></u>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
</blockquote></div>