Hi.<br>I had same problem with MSVS2012.<br>I did simple fix just pass this argument by const reference.<br>In LLVM I had same problem.<br>I think problem in argument type, it contains double field(8 byte align) and I build it for x86(4 byte align for stack).<br>
When pass argument by value through stack it can not be aligned or MSVS can not do this.<br> - Dmitry Sokolov.<br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><div class="h5"><div class="gmail_quote">On Thu, Aug 23, 2012 at 4:55 PM, Timur Iskhodzhanov <span dir="ltr"><<a href="mailto:timurrrr@google.com" target="_blank">timurrrr@google.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
After clobbering my build directory yesterday, I get the following<br>
when trying to compile clang using either VS2008 or VS2010 (on two<br>
different machines):<br>
1>------ Build started: Project: clangAST, Configuration: Debug Win32 ------<br>
1>  DumpXML.cpp<br>
1>C:\src\llvm-dev\tools\clang\include\clang/AST/DeclTemplate.h(2088):<br>
error C2719: 'TemplArgs': formal parameter with __declspec(align('8'))<br>
won't be aligned<br>
1>C:\src\llvm-dev\tools\clang\include\clang/AST/DeclTemplate.h(2112):<br>
error C2719: 'TemplateArgs': formal parameter with<br>
__declspec(align('8')) won't be aligned<br>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br>
<br>
Have anyone seen something like this recently?<br>
Any suggestions?<br>
<br>
Thanks,<br>
Timur Iskhodzhanov,<br>
Google Russia<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></div></div></blockquote><br></div>