<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Are you trying to compile Clang against an older version of LLVM? PointerUnion4 should be defined in llvm/ADT/PointerUnion.h.</div></div></blockquote><div>Yes, that was my problem!  I didn't copy over the proper headers to /usr/local/include (and save-off the shipping ones)</div><div><br></div><div>Thanks,</div><div>Craig</div><div><br></div><div><div>On Sep 14, 2009, at 3:32 PM, Douglas Gregor wrote:</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 Sep 14, 2009, at 3:03 PM, Craig Mortensen wrote:</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; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 14px/normal Menlo; ">Hello,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 14px/normal Menlo; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 14px/normal Menlo; ">I'm running into a compile errors for PointerUnion4 in TemplateName.h</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 14px/normal Menlo; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 14px/normal Menlo; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 14px/normal Menlo; ">/usr/local/include/clang/AST/TemplateName.h:63:0 ISO C++ forbids declaration of 'PointerUnion4' with no type in /usr/local/include/clang/AST/TemplateName.h</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 14px/normal Menlo; min-height: 16px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 14px/normal Menlo; min-height: 16px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Menlo; "><span style="color: #cc00a2">class</span> TemplateName {</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Menlo; ">  <span style="color: #cc00a2">typedef</span> llvm::PointerUnion4<TemplateDecl *, OverloadedFunctionDecl *,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Menlo; ">                              QualifiedTemplateName *,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Menlo; ">                              DependentTemplateName *> StorageType;</div></div></div></blockquote></div><br><div>Are you trying to compile Clang against an older version of LLVM? PointerUnion4 should be defined in llvm/ADT/PointerUnion.h.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>- Doug</div></div></blockquote></div><br></body></html>