[PATCH] D19622: [libc++] Implement the member functions of a local struct.

Sebastian Redl via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 29 03:17:09 PDT 2016



On 28.04.2016 04:25, Eric Fiselier via cfe-commits wrote:
> EricWF closed this revision.
> EricWF added a comment.
>
> r267843. This warning seems a bit silly though.
>
And here I thought this warning was gone after VS 2008, given that its 
dedicated warning page was removed.

But it's apparently still in the list:
https://msdn.microsoft.com/en-us/library/mt656776.aspx

I rail against this warning here:
http://stackoverflow.com/questions/18979503/why-locally-defined-struct-in-function-need-assignment-operator-copy-construct/18979812#18979812

It's not just that the warning is silly, it's also a level 1 warning, 
which is extra-silly. (MSVC's silly warnings are usually level 4.)

Sebastian


More information about the cfe-commits mailing list