<div dir="ltr">I'm running into these errors while building Linux LLDB with clang 3.3 right now and r192738 for llvm, clang, and lldb:<div><br></div><div>/home/mikesart/data/src/llvm.svn/llvm/tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp:114:18: error: redefinition of 'Initialize'</div>
<div>/home/mikesart/data/src/llvm.svn/llvm/tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp:133:18: error: redefinition of 'Terminate'<br></div><div><br></div><div>To fix these, I had to undo the change in r192724 (see down below).</div>
<div><br></div><div>I'm also now hitting this error when linking after I fixed the above two though:<br></div><div><br></div><div><div>/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/chrono:535:6: error: no matching constructor for initialization of 'duration' (aka 'std::chrono::duration<long, std::ratio<1, 1000000> >')</div>
<div> : __d(__t.time_since_epoch())</div><div> ^ ~~~~~~~~~~~~~~~~~~~~~~</div></div><div><br></div><div>Anyone else seeing this?</div><div>Thanks.</div><div> -Mike</div><div><br></div><div>-----------------------</div>
<div><div>mikesart@mikesart64:~/data/src/llvm.hg/llvm/tools/lldb (master)$ git --no-pager diff</div><div>diff --git a/source/Plugins/Platform/Windows/PlatformWindows.h b/source/Plugins/Platform/Windows/PlatformWindows.h</div>
<div>index e701751..67d3e88 100644</div><div>--- a/source/Plugins/Platform/Windows/PlatformWindows.h</div><div>+++ b/source/Plugins/Platform/Windows/PlatformWindows.h</div><div>@@ -24,10 +24,10 @@ class PlatformWindows : public Platform</div>
<div> public:</div><div> </div><div> static void</div><div>- Initialize(void) {}</div><div>+ Initialize(void);</div><div> </div><div> static void</div><div>- Terminate(void) {}</div><div>+ Terminate(void);</div>
<div> </div><div> PlatformWindows(bool is_host);</div></div><div><br></div></div>