<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 15 mars 2011 à 21:46, Sebastian Redl a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 15.03.2011, at 12:02, Sebastian Redl wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
    On 15.03.2011 11:36, Jean-Daniel Dupas wrote:
    <blockquote cite="mid:A867EEF1-E89F-448D-930C-6F6F0C0603A0@shadowlab.org" type="cite">Hello,
      <div><br>
      </div>
      <div>After the commit r127596, it's not longer possible to use the
        gcc 4.2.1 libstdc++ while compiling c++0x code.</div>
      <div><br>
      </div>
      <div>For instance, just including <span class="Apple-style-span" style="color: rgb(123, 72, 47); font-family: Menlo; font-size:
          11px;"><span style="color: rgb(217, 40, 35);"><vector></span><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="background-color: transparent; font-size: 12px;">
              in a file make clang emit the following diagnostics.</span></font></span></div>
      <div><br>
      </div>
      <div><span class="Apple-style-span" style="font-size: 12px; ">/usr/include/c++/4.2.1/new:95:7:
          error: exception specification in declaration does not match
          previous declaration</span></div><div>
        <div style="margin: 0px; font: 12px Helvetica;">void* operator
          new(std::size_t) throw (std::bad_alloc);</div>
        <div style="margin: 0px; font: 12px Helvetica;">      ^</div>
        <div style="margin: 0px; font: 12px Helvetica;"><span class="Apple-style-span" style="font-size: medium;"><br></span></div>
        <div>I suppose this is a problem with libstdc++ 4.2.1 which is
          not standard compliant, but as it is widely used on OS X,
          maybe clang should do something to workaround the problem.</div>
        <br>
      </div>
    </blockquote>
    Yes, yes it should. That occurred to me too. The change in new's
    throw spec can definitely be a problem.<br></div></blockquote></div><br><div>I implemented a workaround in r127688 and r127692.</div></div></blockquote><br></div><div>Thank you. I will test it :-)</div><div><br></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>-- Jean-Daniel</div><div><br></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>