<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On Sep 17, 2017, at 12:01 AM, Kim Gadecki <<a href="mailto:Gadecki@iinet.net.au" class="">Gadecki@iinet.net.au</a>> wrote:</div><div class=""><div bgcolor="#FFFFFF" text="#000000" class=""><p class="">It causes a fatal error when linking because of the characters '
      '</p><p class="">I think there should be something in quotes on that line, Out
      << ' ' << *ND; <br class="">
    </p><p class=""><span style="color: rgb(139, 164, 70); font-family: sans-serif;
        font-size: 13px; font-style: normal; font-variant-ligatures:
        normal; font-variant-caps: normal; font-weight: normal;
        letter-spacing: normal; orphans: 2; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(34, 34, 34); text-decoration-style:
        initial; text-decoration-color: initial; display: inline
        !important; float: none;" class="">fatal error LNK1318: Unexpected PDB
        error; OK (0) ''</span></p><p class=""><span style="color: rgb(139, 164, 70); font-family: sans-serif;
        font-size: 13px; font-style: normal; font-variant-ligatures:
        normal; font-variant-caps: normal; font-weight: normal;
        letter-spacing: normal; orphans: 2; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(34, 34, 34); text-decoration-style:
        initial; text-decoration-color: initial; display: inline
        !important; float: none;" class=""><br class=""></span></p></div></div></blockquote><div><br class=""></div>Googling suggests that this error is a Visual Studio failure that sometimes arises due to stale debugging symbols, and that doing a clean build should fix things up.</div><div><br class=""></div><div>What makes you think it's a source error at all, and why on this line specifically?</div><div><br class=""></div><div>John.</div><div><blockquote type="cite" class=""><div class=""><div bgcolor="#FFFFFF" text="#000000" class=""><p class=""><span style="color: rgb(139, 164, 70); font-family: sans-serif;
        font-size: 13px; font-style: normal; font-variant-ligatures:
        normal; font-variant-caps: normal; font-weight: normal;
        letter-spacing: normal; orphans: 2; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(34, 34, 34); text-decoration-style:
        initial; text-decoration-color: initial; display: inline
        !important; float: none;" class="">
      </span></p><p class=""><span style="color: rgb(139, 164, 70); font-family: sans-serif;
        font-size: 13px; font-style: normal; font-variant-ligatures:
        normal; font-variant-caps: normal; font-weight: normal;
        letter-spacing: normal; orphans: 2; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(34, 34, 34); text-decoration-style:
        initial; text-decoration-color: initial; display: inline
        !important; float: none;" class=""><br class="">
      </span></p>
    <div class="moz-cite-prefix">On 17/09/2017 11:14 AM, John McCall
      wrote:<br class="">
    </div>
    <blockquote type="cite" cite="mid:1C0E9262-5F6E-436A-BD5F-222DDEF52343@apple.com" class="">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252" class="">
      <div class="">
        <blockquote type="cite" class="">
          <div class="">On Sep 16, 2017, at 10:47 PM, Kim Gadecki via
            cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="" moz-do-not-send="true">cfe-dev@lists.llvm.org</a>>
            wrote:</div>
          <div class="">
            <div bgcolor="#FFFFFF" text="#000000" class=""><p class="">Hi guys,</p><p class="">I noticed a problem in the clang source code.</p><p class="">In ASTConsumers.cpp, someone edited it to say
                the following at line 502<br class="">
              </p><p class="">    case Decl::Friend: {<br class="">
                      Out << "<friend>";<br class="">
                      if (const NamedDecl *ND =
                cast<FriendDecl>(I)->getFriendDecl())<br class="">
                        Out << ' ' << *ND;<br class="">
                      Out << "\n";<br class="">
                      break;<br class="">
                    }</p><p class="">It causes a <b class="">fatal </b>error. <br class="">
              </p><p class="">commit
                870fa3969cf0e9e914b21be0b8351f4b8b907eae</p>
            </div>
          </div>
        </blockquote>
      </div>
      Do you have a test case?  That code doesn't seem wrong to me.
      <div class=""><br class="">
      </div>
      <div class="">John.</div>
    </blockquote>
  </div>

</div></blockquote></div><br class=""></body></html>